Skip to content

Commit

Permalink
Fix chart webhook reference
Browse files Browse the repository at this point in the history
  • Loading branch information
damsien committed May 28, 2024
1 parent adfe877 commit b7fe3dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions chart/0.0.1/templates/controller/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ spec:
readOnly: true
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10
{{- if .Values.controller.tolerations }}
tolerations: {{ toYaml .Values.controller.tolerations | nindent 8 }}
{{- end }}
volumes:
- name: cert
secret:
Expand Down
2 changes: 1 addition & 1 deletion chart/0.0.1/templates/webhook/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: validating-webhook-configuration
name: {{ .Release.Namespace }}-validating-webhook-configuration
{{- if eq .Values.webhook.certmanager.enable true }}
annotations:
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/operator-webhook-cert
Expand Down
2 changes: 1 addition & 1 deletion chart/0.0.1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ controller:
requests:
cpu: 10m
memory: 64Mi
tolerations: {}
tolerations: []

metrics:
enable: false
Expand Down

0 comments on commit b7fe3dc

Please sign in to comment.