From b29c312fd1c94b80f156abcc846b0f915b73e1c2 Mon Sep 17 00:00:00 2001 From: bjwswang Date: Mon, 18 Dec 2023 09:04:12 +0000 Subject: [PATCH] fix: add crd groups for u4a-component Signed-off-by: bjwswang --- charts/u4a-component/Chart.lock | 9 +++ charts/u4a-component/Chart.yaml | 4 +- charts/u4a-component/charts/crds/Chart.yaml | 2 +- .../templates/iam.tenxcloud.com_groups.yaml | 56 +++++++++++++++++++ examples/u4a-component/componentplan.yaml | 2 +- 5 files changed, 69 insertions(+), 4 deletions(-) create mode 100644 charts/u4a-component/Chart.lock create mode 100644 charts/u4a-component/charts/crds/templates/iam.tenxcloud.com_groups.yaml diff --git a/charts/u4a-component/Chart.lock b/charts/u4a-component/Chart.lock new file mode 100644 index 0000000..6034157 --- /dev/null +++ b/charts/u4a-component/Chart.lock @@ -0,0 +1,9 @@ +dependencies: +- name: addon-component + repository: "" + version: 0.1.1 +- name: crds + repository: "" + version: 0.1.2 +digest: sha256:16596d7adae9ba1bb03848782dc6d66f5833db5f09dbda8592e2f135eeb372c7 +generated: "2023-12-18T08:59:38.976366745Z" diff --git a/charts/u4a-component/Chart.yaml b/charts/u4a-component/Chart.yaml index d962eb4..026c944 100644 --- a/charts/u4a-component/Chart.yaml +++ b/charts/u4a-component/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.10 +version: 0.1.11 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -28,7 +28,7 @@ dependencies: version: 0.1.1 condition: addon-component.enabled - name: crds - version: 0.1.1 + version: 0.1.2 maintainers: - name: nkwangleiGIT diff --git a/charts/u4a-component/charts/crds/Chart.yaml b/charts/u4a-component/charts/crds/Chart.yaml index 7b51164..6700324 100644 --- a/charts/u4a-component/charts/crds/Chart.yaml +++ b/charts/u4a-component/charts/crds/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/u4a-component/charts/crds/templates/iam.tenxcloud.com_groups.yaml b/charts/u4a-component/charts/crds/templates/iam.tenxcloud.com_groups.yaml new file mode 100644 index 0000000..93ea5a2 --- /dev/null +++ b/charts/u4a-component/charts/crds/templates/iam.tenxcloud.com_groups.yaml @@ -0,0 +1,56 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.5.0 + creationTimestamp: null + name: groups.iam.tenxcloud.com +spec: + group: iam.tenxcloud.com + names: + kind: Group + listKind: GroupList + plural: groups + singular: group + scope: Cluster + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: Group is the Schema for the groups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GroupSpec defines the desired state of Group + properties: + users: + description: Users user list in the groups + items: + type: string + type: array + type: object + status: + description: GroupStatus defines the observed state of Group + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/examples/u4a-component/componentplan.yaml b/examples/u4a-component/componentplan.yaml index 161becd..07ea647 100644 --- a/examples/u4a-component/componentplan.yaml +++ b/examples/u4a-component/componentplan.yaml @@ -6,7 +6,7 @@ metadata: spec: approved: true name: u4a-component - version: 0.1.10 + version: 0.1.11 wait: true override: valuesFrom: