Skip to content

Instantly share code, notes, and snippets.

@lucasponce
Created August 4, 2020 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasponce/6ad171dd80d46fb4ec774e3315cc1ba9 to your computer and use it in GitHub Desktop.
Save lucasponce/6ad171dd80d46fb4ec774e3315cc1ba9 to your computer and use it in GitHub Desktop.
=== OPERATOR SETTINGS ===
DRY_RUN_ARG=
HELM=/usr/local/bin/helm
HELM_CHART=/home/lponce/Projects/repos/kiali-operator/_output/charts/kiali-operator-v1.23.0-SNAPSHOT.tgz
HELM_REPO_CHART_VERSION=lastrelease
OPERATOR_CLUSTER_ROLE_CREATOR=true
OPERATOR_IMAGE_NAME=localhost:5000/kiali/kiali-operator
OPERATOR_IMAGE_PULL_POLICY=Always
OPERATOR_IMAGE_VERSION=dev
OPERATOR_INSTALL_KIALI=false
OPERATOR_NAMESPACE=kiali-operator
OPERATOR_WATCH_NAMESPACE=""
=== OPERATOR SETTINGS ===
Deploying Kiali operator to namespace [kiali-operator]
history.go:52: [debug] getting history for release kiali-operator
Release "kiali-operator" does not exist. Installing it now.
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /home/lponce/Projects/repos/kiali-operator/_output/charts/kiali-operator-v1.23.0-SNAPSHOT.tgz
client.go:108: [debug] creating 2 resource(s)
install.go:154: [debug] Clearing discovery cache
wait.go:53: [debug] beginning wait for 2 resources with timeout of 1m0s
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "kiali-operator" 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 "kiali-operator"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "kiali-operator"
helm.go:84: [debug] ClusterRole "kiali-operator" 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 "kiali-operator"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "kiali-operator"
rendered manifests contain a resource that already exists. Unable to continue with install
helm.sh/helm/v3/pkg/action.(*Install).Run
/home/circleci/helm.sh/helm/pkg/action/install.go:274
main.runInstall
/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newUpgradeCmd.func1
/home/circleci/helm.sh/helm/cmd/helm/upgrade.go:104
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
make: *** [make/Makefile.operator.mk:33: operator-create] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment