diff --git a/charts/deckhand/templates/tests/test-deckhand-api.yaml b/charts/deckhand/templates/tests/test-deckhand-api.yaml index 06409592..c6170526 100644 --- a/charts/deckhand/templates/tests/test-deckhand-api.yaml +++ b/charts/deckhand/templates/tests/test-deckhand-api.yaml @@ -11,11 +11,13 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 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. */}} {{- if .Values.manifests.test_deckhand_api }} +{{- $envAll := . }} --- apiVersion: v1 kind: Pod @@ -23,6 +25,8 @@ metadata: name: "{{ .Release.Name }}-deckhand-api-test" annotations: "helm.sh/hook": "test-success" + labels: +{{ tuple $envAll "deckhand" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: restartPolicy: Never containers: