Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot auto gennerate secret by jx boot #8571

Open
hxfhuxiaofeng opened this issue Apr 21, 2023 · 3 comments
Open

Cannot auto gennerate secret by jx boot #8571

hxfhuxiaofeng opened this issue Apr 21, 2023 · 3 comments

Comments

@hxfhuxiaofeng
Copy link

eks version 1.24

jx secret verify
SECRET                                       STATUS
jx-production/tekton-container-registry-auth key secret/data/tekton/container/registry/auth missing properties: .dockerconfigjson
jx-staging/tekton-container-registry-auth    key secret/data/tekton/container/registry/auth missing properties: .dockerconfigjson
jx/jenkins-maven-settings                    key secret/data/jx/mavenSettings missing properties: settingsXml, securityXml
jx/jenkins-x-chartmuseum                     key secret/data/jx/adminUser missing properties: password, username
jx/jx-basic-auth-htpasswd                    key secret/data/jx/basic/auth/htpasswd missing properties: auth
jx/jx-basic-auth-user-password               key secret/data/jx/basic/auth/user missing properties: password
jx/jx-basic-auth-user-password               key secret/data/jx/basic/auth/user/password missing properties: username
jx/lighthouse-hmac-token                     key secret/data/lighthouse/hmac missing properties: token
jx/lighthouse-oauth-token                    key secret/data/lighthouse/oauth missing properties: token
jx/nexus                                     key secret/data/nexus missing properties: password
jx/tekton-container-registry-auth            key secret/data/tekton/container/registry/auth missing properties: .dockerconfigjson
jx/tekton-git                                key secret/data/jx/pipelineUser missing properties: token, username
error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-bot-token-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false
error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-events-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false
error validating "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-kuberhealthycheck.yaml": error validating data: ValidationError(KuberhealthyCheck.spec.podSpec.containers[0]): unknown field "restartPolicy" in io.github.comcast.v1.KuberhealthyCheck.spec.podSpec.containers; if you choose to ignore these errors, turn validation off with --validate=false
secret/webhook-certs unchanged
make[1]: Leaving directory '/workspace/source'
make[1]: *** [versionStream/src/Makefile.mk:324: kubectl-apply] Error 1
error: failed to regenerate: failed to regenerate phase 1: failed to run 'make regen-phase-1 NEW_CLUSTER=false' command in directory '.', output: ''
make: *** [versionStream/src/Makefile.mk:269: regen-check] Error 1
boot Job pod jx-boot-f4d885b8-63a5-4170-a7c0-f4abe3ee4f13-xtvxw has Failed
error: boot Job pod jx-boot-f4d885b8-63a5-4170-a7c0-f4abe3ee4f13-7r56n has Failed
@hxfhuxiaofeng
Copy link
Author

https://jenkins-x.io/v3/admin/troubleshooting/install/ can't resolve this issue

@babadofar
Copy link

I see a related problem on my end, I guess it is related to this jenkins-x-plugins/jx-secret#395

However, on my side of things, the secrets have double sets of keys, and "jx secret verify" reports success but of course nothing works since the secrets are messed up.

@babadofar
Copy link

Re-opening this issue which is related. It worked for a while yesterday , but then was destroyed again #8573

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants