From ce7645cb579ee894fca3e0800abfb95979f05166 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 4 Jan 2021 18:13:36 +0000 Subject: [PATCH] Split out crds for aws-iam-authenticator --- .../templates/aws-iam-authenticator/crds.yaml | 32 ++++++++++++++++++ .../deployment.yaml} | 33 ------------------- scripts/publish.sh | 3 +- 3 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 charts/kubeadm/templates/aws-iam-authenticator/crds.yaml rename charts/kubeadm/templates/{aws-iam-authenticator.yaml => aws-iam-authenticator/deployment.yaml} (81%) diff --git a/charts/kubeadm/templates/aws-iam-authenticator/crds.yaml b/charts/kubeadm/templates/aws-iam-authenticator/crds.yaml new file mode 100644 index 00000000..7ff85f7d --- /dev/null +++ b/charts/kubeadm/templates/aws-iam-authenticator/crds.yaml @@ -0,0 +1,32 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: iamidentitymappings.iamauthenticator.k8s.aws +spec: + group: iamauthenticator.k8s.aws + version: v1alpha1 + scope: Cluster + names: + plural: iamidentitymappings + singular: iamidentitymapping + kind: IAMIdentityMapping + categories: + - all + subresources: + status: {} + validation: + openAPIV3Schema: + properties: + spec: + required: + - arn + - username + properties: + arn: + type: string + username: + type: string + groups: + type: array + items: + type: string diff --git a/charts/kubeadm/templates/aws-iam-authenticator.yaml b/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml similarity index 81% rename from charts/kubeadm/templates/aws-iam-authenticator.yaml rename to charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml index 962805ed..968e78ee 100644 --- a/charts/kubeadm/templates/aws-iam-authenticator.yaml +++ b/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml @@ -1,36 +1,3 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: iamidentitymappings.iamauthenticator.k8s.aws -spec: - group: iamauthenticator.k8s.aws - version: v1alpha1 - scope: Cluster - names: - plural: iamidentitymappings - singular: iamidentitymapping - kind: IAMIdentityMapping - categories: - - all - subresources: - status: {} - validation: - openAPIV3Schema: - properties: - spec: - required: - - arn - - username - properties: - arn: - type: string - username: - type: string - groups: - type: array - items: - type: string ---- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/scripts/publish.sh b/scripts/publish.sh index aed91671..88fcac42 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -28,7 +28,8 @@ do fi echo "Processing $dir" - helm lint $dir && helm --debug package $dir + helm lint $dir || true + helm --debug package $dir done cp $SRCROOT/*.tgz output/