Open yasyx opened 7 months ago
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
This issue may only occur when running ks-installer locally; it might not exist when running ks-installer within a Kubernetes (k8s) environment.
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