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

ingress manifest remove static namespace entry #31

Open
jameskochubasas opened this issue Jun 24, 2019 · 0 comments
Open

ingress manifest remove static namespace entry #31

jameskochubasas opened this issue Jun 24, 2019 · 0 comments
Labels
area/full-deployment Related to the full deployment type, multiple containers in viya-visuals area/multi-container Related to the multiple deployment type type/enhancement Improves the usage of an existing feature

Comments

@jameskochubasas
Copy link

The generated ingress manifest contains a reference to the static namespace (verse other manifest don't give command flexibility) requiring the user to manually modify vs using the command option (-n or --namespace) to dynamically change based on K8S cluster namespace.

Recommend removing that property inside the generated file so the recommended output commands work:
kubectl -n jakoch apply -f builds/full/manifests/kubernetes/ingress/sas-viya.yml &&
kubectl -n sas-viya apply -f builds/full/manifests/kubernetes/configmaps &&
kubectl -n sas-viya apply -f builds/full/manifests/kubernetes/secrets &&
kubectl -n sas-viya apply -f builds/full/manifests/kubernetes/services &&
kubectl -n sas-viya apply -f builds/full/manifests/kubernetes/deployments

If you don't remove that option and want to change namespace on command, it fails:
kubectl -n jakoch apply -f ingress/sas-viya.yml --namespace=ssa-viya
error: the namespace from the provided object "sas-viya" does not match the namespace "ssa-viya". You must pass '--namespace=sas-viya' to perform this operation.

@Collinux Collinux added area/full-deployment Related to the full deployment type, multiple containers in viya-visuals area/multi-container Related to the multiple deployment type type/enhancement Improves the usage of an existing feature labels Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/full-deployment Related to the full deployment type, multiple containers in viya-visuals area/multi-container Related to the multiple deployment type type/enhancement Improves the usage of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants