Skip to content

✨ Add e2e test to install and validate a Helm chart on a workload cluster #171

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

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

Jont828
Copy link
Contributor

@Jont828 Jont828 commented Feb 9, 2024

What this PR does / why we need it: Adds a test spec to install any Helm chart on a workload cluster and make sure that it the HelmReleaseProxy ready condition is true and that the Helm release status is deployed.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #172

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 9, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 9, 2024
@Jont828
Copy link
Contributor Author

Jont828 commented Feb 9, 2024

/assign @mboersma

})
})

// TODO: try to update Helm values and expect revision
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO we should implement any // TODOs or remove them from code and put into a GitHub issue if they represent future work.

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 was initially planning on putting it in this PR, which is why it was a TODO. But since this PR is getting rather large, I'll leave it out and open a new issue.

@Jont828
Copy link
Contributor Author

Jont828 commented Feb 13, 2024

/hold

Since I need to squash

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 13, 2024
@Jont828
Copy link
Contributor Author

Jont828 commented Feb 13, 2024

@mboersma Responded to comments and also added a bit more to clean up the workload cluster after the test. Once you LGTM I can squash.

Copy link
Contributor

@mboersma mboersma left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 14, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jont828, mboersma

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 k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 14, 2024
@mboersma
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 14, 2024
@Jont828
Copy link
Contributor Author

Jont828 commented Feb 14, 2024

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 14, 2024
@k8s-ci-robot k8s-ci-robot merged commit 8cebe5f into kubernetes-sigs:main Feb 14, 2024
@Jont828 Jont828 deleted the helm-install-spec branch February 14, 2024 22:35
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add e2e tests to support coverage of Helm install, upgrade, and uninstall
3 participants