Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(helm): add hook-delete-policy for Helm chart tests #480

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ metadata:
{{- include "txdc.controlplane.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
"helm.sh/hook-delete-policy": {{ .Values.tests.hookDeletePolicy }}
spec:
containers:
- name: wget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ metadata:
{{- include "txdc.dataplane.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
"helm.sh/hook-delete-policy": {{ .Values.tests.hookDeletePolicy }}
spec:
containers:
- name: wget
Expand Down
5 changes: 5 additions & 0 deletions charts/tractusx-connector-azure-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -549,3 +549,8 @@ serviceAccount:
idsdaps:
connectors:
- certificate: |-

# -- Configurations for Helm tests
tests:
# -- Configure the hook-delete-policy for Helm tests
hookDeletePolicy: before-hook-creation,hook-succeeded
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ metadata:
{{- include "txdc.runtime.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
"helm.sh/hook-delete-policy": {{ .Values.tests.hookDeletePolicy }}
spec:
containers:
- name: wget
Expand Down
5 changes: 5 additions & 0 deletions charts/tractusx-connector-memory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,3 +325,8 @@ serviceAccount:
idsdaps:
connectors:
- certificate: |-

# -- Configurations for Helm tests
tests:
# -- Configure the hook-delete-policy for Helm tests
hookDeletePolicy: before-hook-creation,hook-succeeded
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ metadata:
{{- include "txdc.controlplane.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
"helm.sh/hook-delete-policy": {{ .Values.tests.hookDeletePolicy }}
spec:
containers:
- name: wget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ metadata:
{{- include "txdc.dataplane.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
"helm.sh/hook-delete-policy": {{ .Values.tests.hookDeletePolicy }}
spec:
containers:
- name: wget
Expand Down
5 changes: 5 additions & 0 deletions charts/tractusx-connector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -568,3 +568,8 @@ serviceAccount:
idsdaps:
connectors:
- certificate: |-

# -- Configurations for Helm tests
tests:
# -- Configure the hook-delete-policy for Helm tests
hookDeletePolicy: before-hook-creation,hook-succeeded
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ daps:
backendService:
httpProxyTokenReceiverUrl: "http://backend:8080"

tests:
hookDeletePolicy: before-hook-creation
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,6 @@ daps:

backendService:
httpProxyTokenReceiverUrl: "http://backend:8080"

tests:
hookDeletePolicy: before-hook-creation
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ daps:
backendService:
httpProxyTokenReceiverUrl: "http://backend:8080"

tests:
hookDeletePolicy: before-hook-creation