Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Apigeectl to Helm Migration

Hello,

Did anyone use Helm for installation/upgarde?

The migration from apigeectl to helm shows successful. I ran the migration command along with -v option and no errors occured. But helm install/upgarde command for apigee-operator failed with below error. Couldn't understand why the migration tool was not able to set required labels and annotations.

Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "apigee-cassandra-backup" 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 "operator"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "apigee-system"

 

 

4 6 644
6 REPLIES 6

Hi Kishore,

By chance, Did you find any way for the issue, i am also facing the same.

Thanks

The mentioned patches already applied but i am facing issues in org upgrade with some ingress error 

Error: template: apigee-org/templates/organization.yaml:462:31: executing "apigee-org/templates/organization.yaml" at <.Values.apigeeIngressGateway.tolerations>: can't evaluate field tolerations in type interface {}

any thing similar found and fixed, please share the notes... Thanks

 

 

Hi All,

I am trying to convert apigeectl to helm in version 10. have extracted the helm zip file which is present under tools. while trying to run apigee-helm-migration, getting error 

/Perf-West-Hybrid1.26.6/hybrid-files/tools/migration/apigee-helm-migration_1.0.2_linux_64
$ ls -ltrh
total 36M
-rw-r--r-- 1 AzureAD+ShaswatiBanerjee 4096 10K Jan 20 2023 LICENSE
-rw-r--r-- 1 AzureAD+ShaswatiBanerjee 4096 48 Jul 27 2023 COPYRIGHT
-rw-r--r-- 1 AzureAD+ShaswatiBanerjee 4096 6 Aug 31 2023 VERSION.txt
-rw-r--r-- 1 AzureAD+ShaswatiBanerjee 4096 36M Aug 31 2023 apigee-helm-migration

$ ./apigee-helm-migration --help
bash: ./apigee-helm-migration: No such file or directory

$ apigee-helm-migration --apigee-namespace=apigee --components=apigee-ingress-manager --dry-run --env=sep-perf-apigee --org=sep-perf-apigee --kubeconfig=config -y -v -f /releaseNames.yaml
bash: apigee-helm-migration: command not found

 

Hi Shaswati , 

i am in the similar boat by my issue is different 

 

./apigee-helm-migration --org=cci-gcp-coxapig-9848e55
INFO: 14:24:23 using KUBECONFIG env var...
INFO: 14:24:23 using kubeconfig file /home/p1c23432/.kube/bisapigee1
INFO: 14:24:23 namespace for apigee resources:
INFO: 14:24:23 apigee
INFO: 14:24:23 organization to migrate:
INFO: 14:24:23 cci-gcp-coxapig-9848e55
INFO: 14:24:23 processing all components
INFO: 14:24:23 dry-run:
INFO: 14:24:23 false
no Auth Provider found for name "oidc"

Did you try by downloading v1.1.1 and try? If you get same error, then it may be realated to something else because v1.11 worked for me.