Skip to content
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

unable to pass values into helm chart on install #78

Open
dmitry-mightydevops opened this issue Nov 28, 2023 · 1 comment
Open

unable to pass values into helm chart on install #78

dmitry-mightydevops opened this issue Nov 28, 2023 · 1 comment

Comments

@dmitry-mightydevops
Copy link

➜ helm install --version v1.19.0 --namespace $FISSION_NAMESPACE fission fission-charts/fission-all --values fission-values.yaml 

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: Namespace "fission" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "fission"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "fission"

fission-values.yaml:

defaultNamespace: fission
builderNamespace: fission
functionNamespace: fission
additionalFissionNamespaces:
  - prod
@dk03051996
Copy link
Contributor

dk03051996 commented Nov 30, 2023

hi @dmitry-mightydevops , you can add one more parameter in values.yaml. You are getting this error because if there is a paramter which tries to create namespace for buildernamespace and functionnamespace. Fission namespace already exists so helm won't allow you to install from manifest as it already exists.

createNamespace: false

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

No branches or pull requests

2 participants