From c0872e98bd04fd9ee5f88d4d28d080cdfab00b62 Mon Sep 17 00:00:00 2001 From: xishengcai <1dd.163.com> Date: Mon, 28 Nov 2022 23:48:20 +0800 Subject: [PATCH] feature: generate crd --- .../crds/core.oam.dev_applicationconfigurations.yaml | 2 ++ .../oam-kubernetes-runtime/crds/core.oam.dev_volumeclaims.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml index e2773a4..1e8f471 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml @@ -235,6 +235,8 @@ spec: volumeClaims: items: properties: + accessMode: + type: string hostPath: type: string name: diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_volumeclaims.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_volumeclaims.yaml index 9fad58b..bcc5021 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_volumeclaims.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_volumeclaims.yaml @@ -34,6 +34,9 @@ spec: type: object spec: properties: + accessMode: + description: type enum:"ReadWriteOnce,ReadOnlyMany,ReadWriteMany" ReadWriteOnce – the volume can be mounted as read-write by a single node ReadOnlyMany – the volume can be mounted read-only by many nodes ReadWriteMany – the volume can be mounted as read-write by many nodes + type: string hostPath: type: string size: