24 lines
631 B
YAML
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 }}
|