diff --git a/charts/gardener-extension-admission-ionos/Chart.yaml b/charts/gardener-extension-admission-ionos/Chart.yaml new file mode 100644 index 00000000..f434bec5 --- /dev/null +++ b/charts/gardener-extension-admission-ionos/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: "1.0" +description: A Helm chart for the Gardener ionos admission +name: gardener-extension-admission-ionos +version: 0.1.0 diff --git a/charts/gardener-extension-admission-ionos/charts/application/Chart.yaml b/charts/gardener-extension-admission-ionos/charts/application/Chart.yaml new file mode 100644 index 00000000..bc6ae779 --- /dev/null +++ b/charts/gardener-extension-admission-ionos/charts/application/Chart.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +description: A Helm chart to deploy the gardener-extension-admission-ionos application related resources +name: application +version: 0.1.0 diff --git a/charts/gardener-extension-validator-ionos/charts/application/templates/_helpers.tpl b/charts/gardener-extension-admission-ionos/charts/application/templates/_helpers.tpl similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/application/templates/_helpers.tpl rename to charts/gardener-extension-admission-ionos/charts/application/templates/_helpers.tpl diff --git a/charts/gardener-extension-validator-ionos/charts/application/templates/rbac.yaml b/charts/gardener-extension-admission-ionos/charts/application/templates/rbac.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/application/templates/rbac.yaml rename to charts/gardener-extension-admission-ionos/charts/application/templates/rbac.yaml diff --git a/charts/gardener-extension-validator-ionos/charts/application/templates/serviceaccount.yaml b/charts/gardener-extension-admission-ionos/charts/application/templates/serviceaccount.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/application/templates/serviceaccount.yaml rename to charts/gardener-extension-admission-ionos/charts/application/templates/serviceaccount.yaml diff --git a/charts/gardener-extension-validator-ionos/charts/application/templates/validatingwebhook-validator.yaml b/charts/gardener-extension-admission-ionos/charts/application/templates/validatingwebhook-validator.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/application/templates/validatingwebhook-validator.yaml rename to charts/gardener-extension-admission-ionos/charts/application/templates/validatingwebhook-validator.yaml diff --git a/charts/gardener-extension-validator-ionos/charts/application/values.yaml b/charts/gardener-extension-admission-ionos/charts/application/values.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/application/values.yaml rename to charts/gardener-extension-admission-ionos/charts/application/values.yaml diff --git a/charts/gardener-extension-admission-ionos/charts/runtime/Chart.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/Chart.yaml new file mode 100644 index 00000000..590f9ef1 --- /dev/null +++ b/charts/gardener-extension-admission-ionos/charts/runtime/Chart.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +description: A Helm chart to deploy the gardener-extension-admission-ionos runtime related resources +name: runtime +version: 0.1.0 diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/templates/_helpers.tpl b/charts/gardener-extension-admission-ionos/charts/runtime/templates/_helpers.tpl similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/runtime/templates/_helpers.tpl rename to charts/gardener-extension-admission-ionos/charts/runtime/templates/_helpers.tpl diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/templates/deployment.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/templates/deployment.yaml similarity index 68% rename from charts/gardener-extension-validator-ionos/charts/runtime/templates/deployment.yaml rename to charts/gardener-extension-admission-ionos/charts/runtime/templates/deployment.yaml index 7e8775f3..76425c00 100644 --- a/charts/gardener-extension-validator-ionos/charts/runtime/templates/deployment.yaml +++ b/charts/gardener-extension-admission-ionos/charts/runtime/templates/deployment.yaml @@ -14,9 +14,9 @@ spec: template: metadata: annotations: - checksum/secret-gardener-extension-validator-ionos-cert: {{ include (print $.Template.BasePath "/secret-cert.yaml") . | sha256sum }} + checksum/secret-gardener-extension-admission-ionos-cert: {{ include (print $.Template.BasePath "/secret-cert.yaml") . | sha256sum }} {{- if .Values.global.kubeconfig }} - checksum/gardener-extension-validator-ionos-kubeconfig: {{ include (print $.Template.BasePath "/secret-kubeconfig.yaml") . | sha256sum }} + checksum/gardener-extension-admission-ionos-kubeconfig: {{ include (print $.Template.BasePath "/secret-kubeconfig.yaml") . | sha256sum }} {{- end }} labels: {{ include "labels" . | indent 8 }} @@ -31,11 +31,11 @@ spec: image: {{ include "image" .Values.global.image }} imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - - /gardener-extension-validator-ionos + - /gardener-extension-admission-ionos - --webhook-config-server-port={{ .Values.global.webhookConfig.serverPort }} - - --webhook-config-cert-dir=/etc/gardener-extension-validator-ionos/srv + - --webhook-config-cert-dir=/etc/gardener-extension-admission-ionos/srv {{- if .Values.global.kubeconfig }} - - --kubeconfig=/etc/gardener-extension-validator-ionos/kubeconfig/kubeconfig + - --kubeconfig=/etc/gardener-extension-admission-ionos/kubeconfig/kubeconfig {{- end }} ports: - name: webhook-server @@ -46,22 +46,22 @@ spec: {{ toYaml .Values.global.resources | nindent 10 }} {{- end }} volumeMounts: - - name: gardener-extension-validator-ionos-cert - mountPath: /etc/gardener-extension-validator-ionos/srv + - name: gardener-extension-admission-ionos-cert + mountPath: /etc/gardener-extension-admission-ionos/srv readOnly: true {{- if .Values.global.kubeconfig }} - - name: gardener-extension-validator-ionos-kubeconfig - mountPath: /etc/gardener-extension-validator-ionos/kubeconfig + - name: gardener-extension-admission-ionos-kubeconfig + mountPath: /etc/gardener-extension-admission-ionos/kubeconfig readOnly: true {{- end }} volumes: - - name: gardener-extension-validator-ionos-cert + - name: gardener-extension-admission-ionos-cert secret: - secretName: gardener-extension-validator-ionos-cert + secretName: gardener-extension-admission-ionos-cert defaultMode: 420 {{- if .Values.global.kubeconfig }} - - name: gardener-extension-validator-ionos-kubeconfig + - name: gardener-extension-admission-ionos-kubeconfig secret: - secretName: gardener-extension-validator-ionos-kubeconfig + secretName: gardener-extension-admission-ionos-kubeconfig defaultMode: 420 {{- end }} diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-cert.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-cert.yaml similarity index 86% rename from charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-cert.yaml rename to charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-cert.yaml index e0b6b82a..d1dd8e3e 100644 --- a/charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-cert.yaml +++ b/charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-cert.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Secret metadata: - name: gardener-extension-validator-ionos-cert + name: gardener-extension-admission-ionos-cert namespace: {{ .Release.Namespace }} labels: app: gardener - role: validator-vsphere + role: admission-vsphere chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-kubeconfig.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-kubeconfig.yaml similarity index 86% rename from charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-kubeconfig.yaml rename to charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-kubeconfig.yaml index 946f6059..c7ca564d 100644 --- a/charts/gardener-extension-validator-ionos/charts/runtime/templates/secret-kubeconfig.yaml +++ b/charts/gardener-extension-admission-ionos/charts/runtime/templates/secret-kubeconfig.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Secret metadata: - name: gardener-extension-validator-ionos-kubeconfig + name: gardener-extension-admission-ionos-kubeconfig namespace: "{{ .Release.Namespace }}" labels: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/templates/service.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/templates/service.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/runtime/templates/service.yaml rename to charts/gardener-extension-admission-ionos/charts/runtime/templates/service.yaml diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/values.yaml b/charts/gardener-extension-admission-ionos/charts/runtime/values.yaml similarity index 100% rename from charts/gardener-extension-validator-ionos/charts/runtime/values.yaml rename to charts/gardener-extension-admission-ionos/charts/runtime/values.yaml diff --git a/charts/gardener-extension-validator-ionos/templates/_helpers.tpl b/charts/gardener-extension-admission-ionos/templates/_helpers.tpl similarity index 93% rename from charts/gardener-extension-validator-ionos/templates/_helpers.tpl rename to charts/gardener-extension-admission-ionos/templates/_helpers.tpl index 066f1435..aa1cda90 100644 --- a/charts/gardener-extension-validator-ionos/templates/_helpers.tpl +++ b/charts/gardener-extension-admission-ionos/templates/_helpers.tpl @@ -1,5 +1,5 @@ {{- define "name" -}} -gardener-extension-validator-ionos +gardener-extension-admission-ionos {{- end -}} {{- define "labels.app.key" -}} diff --git a/charts/gardener-extension-validator-ionos/values.yaml b/charts/gardener-extension-admission-ionos/values.yaml similarity index 87% rename from charts/gardener-extension-validator-ionos/values.yaml rename to charts/gardener-extension-admission-ionos/values.yaml index 45a88557..bb9adfb7 100644 --- a/charts/gardener-extension-validator-ionos/values.yaml +++ b/charts/gardener-extension-admission-ionos/values.yaml @@ -2,7 +2,7 @@ global: virtualGarden: enabled: false image: - repository: eu.gcr.io/gardener-project/gardener/extensions/validator-ionos + repository: ghcr.io/23technologies/gardener-extension-provider-ionos tag: latest pullPolicy: IfNotPresent replicaCount: 0 diff --git a/charts/gardener-extension-validator-ionos/.helmignore b/charts/gardener-extension-validator-ionos/.helmignore deleted file mode 100644 index f0c13194..00000000 --- a/charts/gardener-extension-validator-ionos/.helmignore +++ /dev/null @@ -1,21 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*~ -# Various IDEs -.project -.idea/ -*.tmproj diff --git a/charts/gardener-extension-validator-ionos/Chart.yaml b/charts/gardener-extension-validator-ionos/Chart.yaml deleted file mode 100644 index 01c4c1d4..00000000 --- a/charts/gardener-extension-validator-ionos/Chart.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v1 -appVersion: "1.0" -description: A Helm chart for the Gardener ionos validator -name: gardener-extension-validator-ionos -version: 0.1.0 diff --git a/charts/gardener-extension-validator-ionos/charts/application/Chart.yaml b/charts/gardener-extension-validator-ionos/charts/application/Chart.yaml deleted file mode 100644 index 9cebb84f..00000000 --- a/charts/gardener-extension-validator-ionos/charts/application/Chart.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -description: A Helm chart to deploy the gardener-extension-validator-ionos application related resources -name: application -version: 0.1.0 diff --git a/charts/gardener-extension-validator-ionos/charts/runtime/Chart.yaml b/charts/gardener-extension-validator-ionos/charts/runtime/Chart.yaml deleted file mode 100644 index 690c293d..00000000 --- a/charts/gardener-extension-validator-ionos/charts/runtime/Chart.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -description: A Helm chart to deploy the gardener-extension-validator-ionos runtime related resources -name: runtime -version: 0.1.0