-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Kubernetes-maven-plugin] Disable namespace creation during k8s:resource #570
Comments
This seems more like a bug according to documentation. |
It seems that the implementation of fabric8io/fabric8-maven-plugin#1611 reused a configuration flag that was meant for another purpose. |
How is this related to #520? This behavior seems to be there in v1.0.2 as well:
|
It relates because that PR deals with Namespace creation and deletion. Besides, now Namespaces are deleted/undeployed (which didn't happen on 1.0.2). So if you upgraded your project from 1.0.2 to 1.1.0 and you are using the |
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace a new property should be used: `jkube.enricher.jkube-namespace.create-namespace`
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace a new property should be used: `jkube.enricher.jkube-namespace.create-namespace`
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace this property should be used: `jkube.enricher.jkube-namespace.namespace`
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace this property should be used: `jkube.enricher.jkube-namespace.namespace`
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace this property should be used: `jkube.enricher.jkube-namespace.namespace`
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace this property should be used: `jkube.enricher.jkube-namespace.namespace`
As agreed during several meetings and PR reviews behavior should be as follows:
Cases:
|
Now `jkube.namespace` would only append namespace in Kubernetes resources metadata. Earlier we were creating a new namespace too when this property was configured. For creating a new namespace this property should be used: `jkube.enricher.jkube-namespace.namespace`
Description
As Devops developer, I found a feature that I considered that I need to have disabled option. During K8s:resource and specify a namespace in the pom.xml or using the property "jkube.namespace". Because we use K8s:undeploy, jkube delete the namespace and remove all ours previous deployments.
Feature description
I need a property to disabled the namespace creation during k8s:resource. The suggest name "jkube.namespace.creation.disabled"
The text was updated successfully, but these errors were encountered: