Skip to content

How to set or edit the namespace for the Operator deployment (make deploy) #2239

Closed Answered by camilamacedo86
stevelaclasse asked this question in Support
Discussion options

You must be logged in to vote

Hi @stevelaclasse,

By using the Makefile targets command when you run make deploy IMG=image (More info) a namespace with the project name concat with "-system" will be created and your project will be applied there.

See that it is defined in the config//kustomization.yaml file: https://github.com/kubernetes-sigs/kubebuilder/blob/v3.5.0/testdata/project-v3/config/default/kustomization.yaml#L1-L9

Also, check here the manifest to create the namespace:

apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
name: system

Therefore, to set the…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants