Commit 4f460f1f authored by Thong Kuah's avatar Thong Kuah Committed by Sean McGivern

Ensure namespace exists in Kubernetes cluster

This fixes https://gitlab.com/gitlab-org/gitlab/issues/118598.
parent 6a44ba6a
---
title: Ensure namespace is present for Managed-Cluster-Applications CI template
merge_request: 21903
author:
type: fixed
......@@ -9,6 +9,7 @@ apply:
INGRESS_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/ingress/values.yaml
SENTRY_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/sentry/values.yaml
script:
- kubectl get namespace "$TILLER_NAMESPACE" || kubectl create namespace "$TILLER_NAMESPACE"
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
only:
refs:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment