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

WIP Dry Run #878

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

WIP Dry Run #878

wants to merge 1 commit into from

Conversation

janboll
Copy link
Collaborator

@janboll janboll commented Nov 22, 2024

Some refactoring, call prepareKubeConfig only once per RG

What this PR does

Jira:
Link to demo recording:

Special notes for your reviewer

Some refactoring, call prepareKubeConfig only once per RG
Comment on lines -14 to -17
- name: svc
action: ARM
template: templates/svc-cluster.bicep
parameters: test.bicepparam
Copy link
Collaborator

Choose a reason for hiding this comment

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

please don't remove this. this is required by another test

@@ -93,6 +93,22 @@ func (rg *resourceGroup) run(ctx context.Context, options *PipelineRunOptions) e
}

logger := logr.FromContextOrDiscard(ctx)

var kubeconfigFile string
if !options.DryRun {
Copy link
Collaborator

Choose a reason for hiding this comment

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

we will need the real kubeconfig file for dry run with helm --dry-run

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