当前位置: 首页 > 工具软件 > release-it > 使用案例 >

最小化安装kubesphere报“Release \“ks-openldap\” does not exist. Installing it now

游勇军
2023-12-01

具体错误:

fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm upgrade –install ks-openldap /etc/kubesphere/openldap-ha -f /etc/kubesphere/custom-values-openldap.yaml –set fullnameOverride=openldap –namespace kubesphere-system\n”, “delta”: “0:00:00.667982”, “end”: “2020-07-08 06:34:49.019851″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-07-08 06:34:48.351869”, “stderr”: "Error: render error in \“openldap-ha/templates/statefulset.yaml\”: template: openldap-ha/templates/statefulset.yaml:25:9: executing \“openldap-ha/templates/statefulset.yaml\” at <(.Values.ldap.replication) and eq .Values.ldap.replication \“true\”>: can’t give argument to non-function .Values.ldap.replication", “stderr_lines”: ["Error: render error in \“openldap-ha/templates/statefulset.yaml\”: template: openldap-ha/templates/statefulset.yaml:25:9: executing \“openldap-ha/templates/statefulset.yaml\” at <(.Values.ldap.replication) and eq .Values.ldap.replication \“true\”>: can’t give argument to non-function .Values.ldap.replication"], “stdout”: "Release \“ks-openldap\” does not exist. Installing it now.", “stdout_lines”: ["Release \“ks-openldap\” does not exist. Installing it now."]}

解决:

一开始百度不改版本试了好些方式,还是不行,后来还是把helm版本改了就解决问题了,原来helm用的是2.17,改成2.16.3后重启安装解决

 类似资料: