Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Use flux namespace in deploy/ examples #2475

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Sep 25, 2019

This is so that the configuration is not effected by e.g. a namespace
context set in the kubectl config of the user, as this caused
problems during the creation of the ClusterRoleBinding which was set
to the default namespace, while the resources themselves would be
created in the user their configured namespace.

It also simplifies the 'Get started with Kustomize' guide, as a user
does no longer need to create the namespace as a prerequisite but is
still able to overwrite it by adding a namespace: <targetNamespace>
to their kustomization.yaml.

Supersedes #2454

@hiddeco hiddeco force-pushed the misc/ns-deploy-example branch 2 times, most recently from 94a2a95 to eefe4af Compare September 25, 2019 10:50
@hiddeco hiddeco force-pushed the misc/ns-deploy-example branch from eefe4af to dac09a5 Compare September 25, 2019 14:35
This is so that the configuration is not effected by e.g. a namespace
context set in the `kubectl` config of the user, as this caused
problems during the creation of the `ClusterRoleBinding` which was set
to the `default` namespace, while the resources themselves would be
created in the user their configured namespace.

It also simplifies the 'Get started with Kustomize' guide, as a user
does no longer need to create the namespace as a prerequisite but is
still able to overwrite it by adding a `namespace: <targetNamespace>`
to their `kustomization.yaml`.
@hiddeco hiddeco force-pushed the misc/ns-deploy-example branch from dac09a5 to bdb197e Compare September 25, 2019 14:36
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants