cw-infra-apps/vault-secrets-operator/templates/tests/test-runner.yaml
2025-05-28 10:01:42 +03:00

24 lines
631 B
YAML

{{/*
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
*/}}
{{- if .Values.tests.enabled }}
apiVersion: v1
kind: Pod
metadata:
name: {{ template "vso.chart.fullname" . }}-test
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/component: controller-manager
app: {{ template "vso.chart.name" . }}
chart: {{ template "vso.chart.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: vault-operator-test
image: "{{ .Values.controller.manager.image.repository }}"
{{- end }}