ks-installer icon indicating copy to clipboard operation
ks-installer copied to clipboard

When enable the devops, The ks-apiserver pod will be Crashbackoff status after the installer complete install.

Open yasyx opened this issue 9 months ago • 1 comments

Upon reviewing the logs, I discovered that the error was due to the Jenkins password and JWT secret being configured as empty. Consequently, I examined the ks-installer playbook and found that in the file roles/ks-core/config/tasks/main.yaml, the retrieval of the secret did not include the namespace, which was the cause of the error. Therefore, I would like to submit a pull request (PR) to fix this issue. https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-core/config/tasks/main.yaml#L43 https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-core/config/tasks/main.yaml#L48

yasyx avatar Apr 30 '24 07:04 yasyx

This issue may only occur when running ks-installer locally; it might not exist when running ks-installer within a Kubernetes (k8s) environment.

yasyx avatar Apr 30 '24 08:04 yasyx