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

Specify the service account issuer for kubernetes clusters #722

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

hectorj2f
Copy link
Contributor

Summary

I've made some changes to setup-kind actions to set a specific service account issuer. This might fix the current mismatch for the OIDC kubernetes provider when deploying the latest version on a kind cluster.

Release Note

Documentation

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
@hectorj2f hectorj2f changed the title [DNM] specify the service account issuer Specify the service account issuer for kubernetes clusters Aug 9, 2023
@hectorj2f hectorj2f self-assigned this Aug 9, 2023
@@ -95,7 +95,7 @@ if [ "${NEED_TO_UPDATE_FULCIO_CONFIG}" == "true" ]; then
echo "Fixing Fulcio config for < 1.23.X Kubernetes"
curl -Ls "${FULCIO}" | sed 's@https://kubernetes.default.svc.cluster.local@https://kubernetes.default.svc@' | kubectl apply -f -
else
curl -Ls "${FULCIO}" | sed 's@"IssuerURL": "https://kubernetes.default.svc",@"IssuerURL": "https://kubernetes.default.svc.cluster.local",@' | kubectl apply -f -
curl -Ls "${FULCIO}" | sed 's@"IssuerURL": "https://kubernetes.default.svc.cluster.local",@"IssuerURL": "https://kubernetes.default.svc.cluster.local",@' | kubectl apply -f -
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should be able to replace this line, as your change would be replacing it with the same thing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True! I missed this!

k4leung4
k4leung4 previously approved these changes Aug 9, 2023
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
Copy link
Contributor

@k4leung4 k4leung4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing this

@hectorj2f hectorj2f merged commit 6aebd9d into sigstore:main Aug 9, 2023
17 checks passed
@hectorj2f hectorj2f deleted the set_service_account_issuer branch August 9, 2023 20:29
Gregory-Pereira pushed a commit to Gregory-Pereira/scaffolding that referenced this pull request Nov 16, 2023
)

* specify the service account issuer

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

* install fulcio without replacing any string

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

---------

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
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

Successfully merging this pull request may close these issues.

None yet

4 participants