Add test pods labels.
- Uses helm toolkit to add labels to test pods. Change-Id: I4c2c320894b7e8a8b6ce5ce8698f2342c885ac4f
This commit is contained in:
parent
57d8ea6301
commit
2239ba5652
@ -16,6 +16,7 @@
|
||||
{{/*
|
||||
Test that HAProxy is running and the config is valid */}}
|
||||
{{- if .Values.manifests.test_haproxy }}
|
||||
{{- $envAll := . }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
@ -23,6 +24,8 @@ metadata:
|
||||
name: "{{ .Release.Name }}-haproxy-test"
|
||||
annotations:
|
||||
"helm.sh/hook": "test-success"
|
||||
labels:
|
||||
{{ tuple $envAll "kubernetes" "haproxy-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
|
Loading…
Reference in New Issue
Block a user