Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
Add v1beta1 shoots to AWS Validatingwebhookconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
timuthy committed Dec 31, 2019
1 parent 9d65858 commit 48bf113
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ webhooks:
resources:
- shoots
failurePolicy: Fail
objectSelector: {}
namespaceSelector: {}
clientConfig:
{{- if .Values.global.virtualGarden.enabled }}
url: {{ printf "https://gardener-extensions-validator-aws.%s/webhooks/validate-shoot-aws" .Release.Namespace }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
spec:
{{- if .Values.global.kubeconfig }}
automountServiceAccountToken: false
{{- else }}
serviceAccountName: {{ include "name" . }}
{{- end }}
containers:
- name: {{ include "name" . }}
Expand Down Expand Up @@ -58,7 +60,6 @@ spec:
mountPath: /etc/gardener-extensions-validator-aws/kubeconfig
readOnly: true
{{- end }}
serviceAccountName: {{ include "name" . }}
volumes:
- name: gardener-extensions-validator-aws-cert
secret:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ webhooks:
- "core.gardener.cloud"
apiVersions:
- v1alpha1
- v1beta1
operations:
- CREATE
- UPDATE
resources:
- shoots
failurePolicy: Fail
objectSelector: {}
namespaceSelector: {}
clientConfig:
url: "https://localhost:9443/webhooks/validate-shoot-aws"
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUU0akNDQXNvQ0NRRHVLOTQ5QnF0eUt6QU5CZ2txaGtpRzl3MEJBUXNGQURBek1Sb3dHQVlEVlFRS0RCRkgKWVhKa1pXNWxjaUJGZUdGdGNHeGxjekVWTUJNR0ExVUVDd3dNVUhKdmRtbGtaWElnUVZkVE1CNFhEVEU1TVRFeQpNREV4TURRd00xb1hEVEk1TVRFeE56RXhNRFF3TTFvd016RW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