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

Fastly: use a private bucket as origin for dl.k8s.io #7178

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

ameukam
Copy link
Member

@ameukam ameukam commented Aug 14, 2024

- Ensure the VCL service can use a GCS private bucket as origin using AWS
auth headers. GCS API is S3-compatible. We apply the snippet from https://quic.fastly.com/documentation/solutions/examples/google-cloud-storage-origin-private/
- Enable Shielding for the service. More informations on https://www.fastly.com/documentation/guides/concepts/shielding/
- Disable the healthcheck for the service. This is not required since we
  have Origin Inspector activated and is currently not working with the
  private bucket.

Signed-off-by: Arnaud Meukam <[email protected]>
Add data resources that will help get the credentials needed for the VCL
to authenticate against GCS API.

Signed-off-by: Arnaud Meukam <[email protected]>
@k8s-ci-robot k8s-ci-robot added the area/infra Infrastructure management, infrastructure design, code in infra/ label Aug 14, 2024
@k8s-ci-robot k8s-ci-robot added sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 14, 2024
@ameukam
Copy link
Member Author

ameukam commented Aug 14, 2024

/hold

I will deploy this next Monday.

cc @dims @BenTheElder

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2024
Copy link
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

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

This vaguely looks right? and I trust you. But I'm also no expert here.
/lgtm
/approve
/hold

@BenTheElder reviewing VCL:

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

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@ameukam
Copy link
Member Author

ameukam commented Aug 19, 2024

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 19, 2024
@k8s-ci-robot k8s-ci-robot merged commit d78c427 into kubernetes:main Aug 19, 2024
3 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.32 milestone Aug 19, 2024
@BenTheElder
Copy link
Member

I think we may need to revert. Seeing failures downloading https://dl.k8s.io/easy-rsa/easy-rsa.tar.gz in Kubernetes PR blocking jobs.

@BenTheElder
Copy link
Member

Screenshot 2024-08-19 at 4 18 36 PM Screenshot 2024-08-19 at 4 18 52 PM

@BenTheElder
Copy link
Member

discussing mitigations in the above slack thread

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/infra Infrastructure management, infrastructure design, code in infra/ 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/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants