Skip to content
GitLab Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !22011

Incorporates Kubernetes Namespace into Cluster's flow

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Thong Kuah requested to merge 51716-create-kube-namespace into master Oct 01, 2018
  • Overview 253
  • Commits 5
  • Pipelines 57
  • Changes 33

What does this MR do?

Incorporates Clusters::KubernetesNamespace into clusters flow:

  • Create the namespace/service account in GCP Kubernetes, when creating a cluster
  • Create the namespace/service account in GCP Kubernetes, when adding a cluster
  • Create the namespace/service account in GCP Kubernetes, when modifying namespace
  • Replace KUBE_TOKEN and KUBECONFIG (passed to CI) with new credentials

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/51716

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • [-] Documentation created/updated
  • Tests added for this feature/bug
  • Conforms to the code review guidelines
  • Conforms to the merge request performance guidelines
  • Conforms to the style guides
  • [-] Conforms to the database guides

Manual QA

ABAC Cluster

  • Add a Cluster
  • Check namespace/service account were created on kubernetes side
  • Install applications
  • Run AutoDevOps pipeline

RBAC Cluster

Creating cluster

  • Create Cluster
  • Check namespace/service account were created on kubernetes side
  • Install applications
  • Run AutoDevOps pipeline

Auto DevOps for ABAC

  • Switch to master branch
  • Create a cluster ABAC
  • Switch to this branch, restart GDK
  • Run Auto DevOps pipeline

Auto DevOps for RBAC

  • Switch to master branch
  • Create a cluster
  • Switch to this branch, restart GDK
  • Run Auto DevOps pipeline
Edited Nov 02, 2018 by Kamil Trzciński
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 51716-create-kube-namespace