Skip to content

Commit

Permalink
remove helm hooks (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
balonik committed Jul 22, 2023
1 parent 0f3c2a0 commit 1a5f353
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion charts/envars-webhook/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ home: "https://github.com/danfromtitan/envars-from-node-labels"
sources: ["https://github.com/danfromtitan/envars-from-node-labels"]
type: application
appVersion: "0.1.0"
version: 0.2.0
version: 0.2.1
6 changes: 0 additions & 6 deletions charts/envars-webhook/templates/mutatingwebhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ metadata:
name: {{ include "envars-webhook.name" . }}
labels:
{{- include "envars-webhook.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": "post-install,post-upgrade,pre-delete"
"helm.sh/hook-delete-policy": "before-hook-creation"
webhooks:
- name: {{ include "envars-webhook.name" . }}.{{ .Release.Namespace }}.svc
admissionReviewVersions: ["v1"]
Expand Down Expand Up @@ -44,9 +41,6 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "envars-webhook.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": "pre-install"
"helm.sh/hook-delete-policy": "before-hook-creation"
type: kubernetes.io/tls
data:
tls.crt: {{ $cert.Cert | b64enc }}
Expand Down

0 comments on commit 1a5f353

Please sign in to comment.