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

chore: move base image urls to pipeline vars #5933

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timmy-wright
Copy link
Contributor

@timmy-wright timmy-wright commented Feb 26, 2025

What type of PR is this?

/kind chore

What this PR does / why we need it:

Moves the base image URLs to pipeline params rather than pipeline vars. This will make it easier to add new windows versions in the future. Also fixes a bug where the wrong base VHD was being passed to WS-2022-gen2 VHD builds.

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@@ -59,6 +59,22 @@ parameters:
displayName: Branch in aks-rp to use for overrides
type: string
default: master
- name: ws2019BaseImageUrl
Copy link
Member

Choose a reason for hiding this comment

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

We keep these variables as secret and do not want to expose the values in any logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's OK to expose them in the devops logs as they are only accessible internally. Also, anyone who has access to the pipelines can view the variables or parameters that were used to run the pipelines - so I'm not sure we gain much by using variables.

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.

3 participants