Skip to content

Commit e88495c

Browse files
Merge pull request #63 from cloudkite-io/upgrade-custom-webhook
Upgrade custom webhook with resource spec
2 parents 027e571 + 61c3459 commit e88495c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

custom-mutating-webhook/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: custom-mutating-webhook
33
description: A Helm chart for the custom-mutating-webhook deployment
44

55
type: application
6-
version: 0.1.2
7-
appVersion: 0.1.2
6+
version: 0.1.3
7+
appVersion: 0.1.3

custom-mutating-webhook/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ spec:
2626
- name: certs-volume
2727
readOnly: true
2828
mountPath: "/certs"
29+
{{- if .Values.resources }}
30+
resources:
31+
{{- toYaml .Values.resources | nindent 10 }}
32+
{{- end }}
2933
{{- with .Values.tolerations }}
3034
tolerations: {{ toYaml . | nindent 8 }}
3135
{{- end }}

custom-mutating-webhook/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
replicas: 1
22

33
namespace: webhooks
4-
4+
resources: {}
55
secrets:
66
create: false # Indicates if the secret should be created (can be false if the secret already exists)
77
tls_crt: ""

0 commit comments

Comments
 (0)