Merge "Add test pods labels."
This commit is contained in:
commit
0b0d097495
|
@ -11,11 +11,13 @@
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License. */}}
|
# limitations under the License.
|
||||||
|
*/}}
|
||||||
{{/*
|
{{/*
|
||||||
Test the Deckhand API, to ensure that the health endpoint is active and able to respond.
|
Test the Deckhand API, to ensure that the health endpoint is active and able to respond.
|
||||||
*/}}
|
*/}}
|
||||||
{{- if .Values.manifests.test_deckhand_api }}
|
{{- if .Values.manifests.test_deckhand_api }}
|
||||||
|
{{- $envAll := . }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
|
@ -23,6 +25,8 @@ metadata:
|
||||||
name: "{{ .Release.Name }}-deckhand-api-test"
|
name: "{{ .Release.Name }}-deckhand-api-test"
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": "test-success"
|
"helm.sh/hook": "test-success"
|
||||||
|
labels:
|
||||||
|
{{ tuple $envAll "deckhand" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
|
|
Loading…
Reference in New Issue