Skip to content

Commit

Permalink
fex(helm): remove helm.sh/hook annotations (#564)
Browse files Browse the repository at this point in the history
Closes #555
  • Loading branch information
chgl committed Dec 20, 2023
1 parent bfc7f0d commit 6ef30a4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions charts/kubeclarity/templates/grype_server/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ metadata:
namespace: '{{ .Release.Namespace }}'
labels:
{{ include "kubeclarity.grype-server.labels" . }}
annotations:
helm.sh/hook: pre-install
spec:
ports:
- name: healthz
Expand Down
2 changes: 0 additions & 2 deletions charts/kubeclarity/templates/sbom_db/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ metadata:
namespace: '{{ .Release.Namespace }}'
labels:
{{ include "kubeclarity.sbom-db.labels" . }}
annotations:
helm.sh/hook: pre-install
spec:
ports:
- name: healthz
Expand Down
3 changes: 0 additions & 3 deletions charts/kubeclarity/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ metadata:
namespace: '{{ .Release.Namespace }}'
labels:
{{- include "kubeclarity.labels" . | nindent 4 }}
annotations:
helm.sh/hook: pre-install
helm.sh/hook-weight: "1"
data:
{{ $secretKey }}: {{ $postgresPassword }}
{{- end }}
2 changes: 0 additions & 2 deletions charts/kubeclarity/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ metadata:
namespace: '{{ .Release.Namespace }}'
labels:
{{- include "kubeclarity.labels" . | nindent 4 }}
annotations:
helm.sh/hook: pre-install
{{ template "kubeclarity.service.annotations" .}}
spec:
type: {{ .Values.kubeclarity.service.type }}
Expand Down

0 comments on commit 6ef30a4

Please sign in to comment.