Commit 7017126a authored by Sean McGivern's avatar Sean McGivern

Merge branch 'managed-cluster-applications-ci-template-ensure-namespace' into 'master'

Ensure namespace exists in Kubernetes cluster

Closes #118598

See merge request gitlab-org/gitlab!21903
parents 6a44ba6a 4f460f1f
---
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