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

Use environment variables for parameters in Powershell #120128

Merged
merged 1 commit into from Aug 23, 2023

Conversation

ritazh
Copy link
Member

@ritazh ritazh commented Aug 23, 2023

What type of PR is this?

/kind bug

What this PR does / why we need it:

As a defense in depth, pass parameters to powershell via environment variables.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


/sig storage
/sig windows

As a defense in depth, pass parameters to powershell via environment variables.

Signed-off-by: James Sturtevant <jstur@microsoft.com>
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. kind/bug Categorizes issue or PR as related to a bug. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/windows Categorizes an issue or PR as relevant to SIG Windows. labels Aug 23, 2023
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Aug 23, 2023
@jsafrane
Copy link
Member

/triage accepted
/approve

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Aug 23, 2023
@ritazh ritazh changed the title Use environment varaibles for parameters in Powershell Use environment variables for parameters in Powershell Aug 23, 2023
@xmudrii
Copy link
Member

xmudrii commented Aug 23, 2023

/retest

2 similar comments
@jsafrane
Copy link
Member

/retest

@jeremyrickard
Copy link
Contributor

/retest

Copy link
Contributor

@marosset marosset left a comment

Choose a reason for hiding this comment

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

/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 23, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 702284e2b5e1975dbd9278b61f048f5e80a53310

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsafrane, marosset, ritazh

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
Copy link
Contributor

@ritazh: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kubernetes-e2e-capz-windows 2bede05 link false /test pull-kubernetes-e2e-capz-windows

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot merged commit 42357dd into kubernetes:master Aug 23, 2023
18 of 19 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.29 milestone Aug 23, 2023
k8s-ci-robot added a commit that referenced this pull request Aug 23, 2023
Cherry pick of #120128 Use environment variables for parameters in Powershell
k8s-ci-robot added a commit that referenced this pull request Aug 23, 2023
Cherry pick of #120128 Use environment variables for parameters in Powershell
@ritazh ritazh deleted the format-mount branch August 23, 2023 19:34
k8s-ci-robot added a commit that referenced this pull request Aug 23, 2023
Cherry pick of #120128 Use environment variables for parameters in Powershell
k8s-ci-robot added a commit that referenced this pull request Aug 23, 2023
Cherry pick of #120128 Use environment variables for parameters in Powershell
k8s-ci-robot added a commit that referenced this pull request Aug 23, 2023
Cherry pick of #120128 Use environment variables for parameters in Powershell
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. release-note-none Denotes a PR that doesn't merit a release note. sig/storage Categorizes an issue or PR as relevant to SIG Storage. sig/windows Categorizes an issue or PR as relevant to SIG Windows. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

7 participants