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

feat(contributors.jenkins.io): add File Share #524

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Nov 23, 2023

This PR adds the File Share that will be used by the nginx-website release on publick8s cluster to serve on contributors.origin.jenkins.io the content generated in https://github.com/jenkins-infra/contributor-spotlight/.

It also rename the storage account resource to be uniform.

Follow-up of #523

Ref:

@lemeurherve lemeurherve requested a review from a team November 23, 2023 16:14
@lemeurherve
Copy link
Member Author

Plan: 1 to add, 0 to change, 0 to destroy.

(+ one rename)

LGTM

@lemeurherve
Copy link
Member Author

Self-merging to unblock jenkins-infra/kubernetes-management#4710 release.

@lemeurherve lemeurherve merged commit 2671f89 into jenkins-infra:main Nov 23, 2023
7 checks passed
@lemeurherve lemeurherve deleted the helpdesk3809-contributors-file-share branch November 23, 2023 16:48
resource "azurerm_storage_share" "contributors_jenkins_io" {
name = "contributors-jenkins-io"
storage_account_name = azurerm_storage_account.contributors_jenkins_io.name
quota = 5
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you explain ("posteriori") the reasoning behind this value in the issue please?

Copy link
Member Author

@lemeurherve lemeurherve Nov 27, 2023

Choose a reason for hiding this comment

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

I've chose 5Gio as even javadoc (another website) with a lot of content is below 4Gio.

lemeurherve added a commit that referenced this pull request Nov 27, 2023
…re (#528)

This PR recreates the storage account and the file share for
contributors.jenkins.io

The network rules deleted in a hotfix commit were still present when
looking at the storage account in Azure Portal.
I've deleted the (empty) storage account to recreate it with this PR.

Other changes:
- ZRS: no need for GRS, ZRS is sufficient
- Type StorageV2: default value from the terraform provider, "Storage"
(v1) is the legacy one, no cost change between them.
- Add back network rules, allowing our IPs and the ones from publick8s
and privatek8s vnets.

Follow-up of:
- #523
- #524

Ref:
-
jenkins-infra/helpdesk#3809 (comment)
lemeurherve added a commit that referenced this pull request Nov 27, 2023
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.

2 participants