Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4f460f1f
Commit
4f460f1f
authored
Dec 17, 2019
by
Thong Kuah
Committed by
Sean McGivern
Dec 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure namespace exists in Kubernetes cluster
This fixes
https://gitlab.com/gitlab-org/gitlab/issues/118598
.
parent
6a44ba6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
changelogs/unreleased/managed-cluster-applications-ci-template-ensure-namespace.yml
...ged-cluster-applications-ci-template-ensure-namespace.yml
+5
-0
lib/gitlab/ci/templates/Managed-Cluster-Applications.gitlab-ci.yml
...b/ci/templates/Managed-Cluster-Applications.gitlab-ci.yml
+1
-0
No files found.
changelogs/unreleased/managed-cluster-applications-ci-template-ensure-namespace.yml
0 → 100644
View file @
4f460f1f
---
title
:
Ensure namespace is present for Managed-Cluster-Applications CI template
merge_request
:
21903
author
:
type
:
fixed
lib/gitlab/ci/templates/Managed-Cluster-Applications.gitlab-ci.yml
View file @
4f460f1f
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment