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

Creating a Helm chart and repository for GMSA. #55

Merged
merged 11 commits into from
Apr 20, 2022

Conversation

phillipsj
Copy link
Contributor

Created a Helm chart for GMSA that supports installing the CRD, CertManager, and the Admission web hook. This also makes this repository a Helm chart repo.

Signed-off-by: Jamie Phillips [email protected]

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 6, 2022
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 6, 2022
@phillipsj
Copy link
Contributor Author

/assign @jsturtevant

charts/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

Thanks! Like seeing the integration with Cert manager.

Can we add a few things here:

admission-webhook/deploy/deploy-gmsa-webhook.sh Outdated Show resolved Hide resolved
admission-webhook/deploy/gmsa-crd.yml Outdated Show resolved Hide resolved
admission-webhook/make/helm.mk Outdated Show resolved Hide resolved
admission-webhook/run-ci.sh Outdated Show resolved Hide resolved
charts/index.yaml Outdated Show resolved Hide resolved
charts/v0.3.0/gmsa/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/v0.3.0/gmsa/templates/_helpers.tpl Outdated Show resolved Hide resolved
charts/v0.3.0/gmsa/values.yaml Outdated Show resolved Hide resolved
@phillipsj
Copy link
Contributor Author

Linking this issue.

@k8s-ci-robot k8s-ci-robot added the sig/windows Categorizes an issue or PR as relevant to SIG Windows. label Feb 20, 2022
@jsturtevant
Copy link
Contributor

/cc @marciogmorales for the cert-manage changes

@k8s-ci-robot
Copy link
Contributor

@jsturtevant: GitHub didn't allow me to request PR reviews from the following users: changes, marciogmorales, for, the.

Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @marciogmorales for the cert-manage changes

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2022
phillipsj and others added 7 commits April 10, 2022 13:19
Created a Helm chart for GMSA that supports installing the CRD, CertManager, and the Admission web hook. This also makes this repository a  Helm chart repo.

Signed-off-by: Jamie Phillips <[email protected]>
Just stubbing out all of the items needed.

Signed-off-by: Jamie Phillips <[email protected]>
Signed-off-by: Jamie Phillips <[email protected]>
Signed-off-by: Jamie Phillips <[email protected]>
@phillipsj phillipsj force-pushed the feature/helm-chart branch from 708c096 to c56fc34 Compare April 10, 2022 17:20
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2022
Signed-off-by: Jamie Phillips <[email protected]>
Signed-off-by: Jamie Phillips <[email protected]>
Signed-off-by: Jamie Phillips <[email protected]>
@phillipsj
Copy link
Contributor Author

@jsturtevant made some progress. The chart integration test is failing for some odd reason, but it works on the others. I will be digging into that a little later.

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
Copy link
Contributor

Choose a reason for hiding this comment

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

can you try bumping this to 1.17.

I've seen the same errors you are seeing in CI job when trying to build w/ go 1.16 when deps moved to 1.17.

Error: /home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:1249:12: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
Error: /home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:1255:18: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)

Plus all the other jobs in this file are using 1.17 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marosset just needed that extra set of eyes. Thanks.

@marosset
Copy link
Contributor

Looks like the go version bump fixed the CI issue.
I will give this a review tomorrow and hopefully we can merge and iterate if needed.

@marosset
Copy link
Contributor

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Apr 14, 2022
@@ -16,6 +16,13 @@ If your repo has certain guidelines for contribution, put them here ahead of the
- [Kubernetes Contributor Guide](http://git.k8s.io/community/contributors/guide) - Main contributor documentation, or you can just jump directly to the [contributing section](http://git.k8s.io/community/contributors/guide#contributing)
- [Contributor Cheat Sheet](https://git.k8s.io/community/contributors/guide/contributor-cheatsheet.md) - Common resources for existing developers

## Generating Helm Charts and Index

When a chart needs to be updated, create the new version and the chart information. Run helm pack, then generate a new Helm chart index.yaml with the following command.
Copy link
Contributor

Choose a reason for hiding this comment

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

We could/should add a CI check to see if helm charts need to be rebuilt.
This can be done as a seperate change.

@marosset
Copy link
Contributor

Looks like most of the feedback has been addressed and CI job is passing.
Let's merge + iterate!
/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 Apr 20, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marosset, phillipsj

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 20, 2022
@k8s-ci-robot k8s-ci-robot merged commit 28498a9 into kubernetes-sigs:master Apr 20, 2022
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. sig/windows Categorizes an issue or PR as relevant to SIG Windows. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants