Browse Source

Ranger-Agent: add labels to test pod

This PS adds labels to the ranger agent test pod.

Change-Id: I4d3076677f741ff1902747451da964d2e8bd5272
Signed-off-by: Pete Birley <pete@port.direct>
Pete Birley 4 months ago
parent
commit
f2b5952fdd
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      ranger-agent/templates/pod-test.yaml

+ 2
- 0
ranger-agent/templates/pod-test.yaml View File

@@ -29,6 +29,8 @@ metadata:
29 29
   name: "{{$envAll.Release.Name}}-test"
30 30
   annotations:
31 31
     "helm.sh/hook": test-success
32
+  labels:
33
+{{ tuple $envAll "ranger-agent" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
32 34
 spec:
33 35
   serviceAccountName: {{ $serviceAccountName }}
34 36
   nodeSelector:

Loading…
Cancel
Save