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

releng: Add sbom.[k8s, kubernetes].io to certificate SANs #2458

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

puerco
Copy link
Member

@puerco puerco commented Aug 4, 2021

This commit adds the sbom.k8s.io and sbom.kubernetes.io hostnames to the prod and canary
certificate SANs. These hostnames were recently added to the DNS and nginx configuration.

Follow-up to: #2447
Part of: kubernetes/release#1837

/assign @ameukam

Signed-off-by: Adolfo García Veytia (Puerco) adolfo.garcia@uservers.net

This commit adds the sbom.k8s.io and sbom.kubernetes.io hostnames to the prod and canary
certificates SANs. These hostnames were recently added to the DNS and nginx configuration.

Follow-up to: kubernetes#2447

Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/apps Application management, code in apps/ labels Aug 4, 2021
@k8s-ci-robot k8s-ci-robot added sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. wg/k8s-infra size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 4, 2021
@ameukam
Copy link
Member

ameukam commented Aug 4, 2021

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 4, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ameukam, puerco

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2021
@k8s-ci-robot k8s-ci-robot merged commit a3f58a3 into kubernetes:main Aug 4, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Aug 4, 2021
@ameukam
Copy link
Member

ameukam commented Aug 4, 2021

Manually deployed the certificates :

ameukam@cloudshell:~/k8s.io/apps/k8s-io (kubernetes-public)$ kubectl apply -f certificate-canary.yaml
certificate.cert-manager.io/k8s-io-selfsigned configured
ameukam@cloudshell:~/k8s.io/apps/k8s-io (kubernetes-public)$ kubectl apply -f certificate-prod.yaml
managedcertificate.networking.gke.io/k8s-io-prod created

@ameukam
Copy link
Member

ameukam commented Aug 4, 2021

The certificate was requested in the wrong namespace. Deployed to k8s-io-prod :

kubectl apply -f certificate-prod.yaml -n k8s-io-prod

Deleted the wrong one:

kubectl -n default delete ManagedCertificate k8s-io-prod

@puerco
Copy link
Member Author

puerco commented Aug 4, 2021

Thanks @ameukam I can PR the namespace into the YAML, would that be helpful?

@ameukam
Copy link
Member

ameukam commented Aug 4, 2021

Thanks @ameukam I can PR the namespace into the YAML, would that be helpful?

Very hepful. Planned to do that at the end of my workday.

@puerco
Copy link
Member Author

puerco commented Aug 4, 2021

Done :) #2462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/apps Application management, code in apps/ cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants