Skip to content

Conversation

@bpradipt
Copy link
Contributor

Preinstall the artefacts for azure.

- Description of the problem which is fixed/What is the use case

- What I did

- How to verify it

- Description for the changelog

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 24, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 24, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link

openshift-ci bot commented Jan 6, 2026

@bpradipt: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

This commit enables podvm image creation in Azure when using either
public or private access.

Additionally it also enforces security best practices for the storage
account created for the podvm image.

When public network access is disabled, a private endpoint is must.

- Enforce minimum TLS version 1.2
- Disable cross-tenant object replication
- Disable public network access
- Enforce HTTPS-only connections
- Disable public blob access

- Create private endpoint in the same subnet (AZURE_SUBNET_ID) for blob access
- Use storage account FQDN with /etc/hosts entry for proper SSL certificate
  validation (certificates are issued for *.blob.core.windows.net, not IPs)
- Delete private endpoint before storage account cleanup

Storage account and private endpoint creation is idempotent to support
job retries without orphaning Azure resources:

- Deterministic storage account naming using "oscsa" prefix + IMAGE_NAME
- Existence checks before creating storage account and private endpoint
- Hosts entry added only if not already present
- Blob upload uses --overwrite flag for retry safety

Assisted-by: AI
Signed-off-by: Pradipta Banerjee <[email protected]>
Preinstall the artefacts for azure.

Signed-off-by: Pradipta Banerjee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant