Repository navigation
cmd/k8s-operator: add Connector CRD to Helm chart and static manifests - #10775
Merged
Merged
Conversation
irbekrm
marked this pull request as draft
January 8, 2024 10:55
irbekrm
force-pushed
the
irbekrm/chart_crd
branch
4 times, most recently
from
January 9, 2024 12:13
5b4629b to
4193cde
Compare
irbekrm
marked this pull request as ready for review
January 9, 2024 12:22
This was referenced Jan 9, 2024
knyar
approved these changes
Jan 9, 2024
irbekrm
force-pushed
the
irbekrm/chart_crd
branch
2 times, most recently
from
January 9, 2024 17:25
41e1f5f to
6c108de
Compare
knyar
reviewed
Jan 9, 2024
|
|
||
| //go:build !plan9 && !windows | ||
|
|
||
| package crdsforhelm |
Contributor
There was a problem hiding this comment.
We'd probably still need a main to call this from corp, right?
Contributor
Author
There was a problem hiding this comment.
@knyar this was getting too complicated for the simple task. I have restructured the whole of this to both add the CRD to the chart and add the CRD to the static manifest by adding a bit more to the existing ./cmd/k8s-operator/generate which we can then also call from build infra.
Contributor
Author
There was a problem hiding this comment.
Perhaps you want to give it another approve since this is now very different contents. I've closed the other PR.
Add functionality to insert CRD to chart at package time. Insert CRD to static manifests as this is where they are currently consumed from. Updates #10641 Signed-off-by: Irbe Krumina <[email protected]>
irbekrm
force-pushed
the
irbekrm/chart_crd
branch
2 times, most recently
from
January 9, 2024 18:13
3b352e9 to
0e4581a
Compare
make kube-generate-all Signed-off-by: Irbe Krumina <[email protected]>
irbekrm
force-pushed
the
irbekrm/chart_crd
branch
from
January 9, 2024 18:45
0e4581a to
d5a114c
Compare
knyar
approved these changes
Jan 10, 2024
kari-ts
pushed a commit
that referenced
this pull request
Jan 12, 2024
#10775) cmd/k8s-operator: add CRD to chart and static manifest Add functionality to insert CRD to chart at package time. Insert CRD to static manifests as this is where they are currently consumed from. Signed-off-by: Irbe Krumina <[email protected]>
Asutorufa
pushed a commit
to Asutorufa/tailscale
that referenced
this pull request
Jan 19, 2024
tailscale#10775) cmd/k8s-operator: add CRD to chart and static manifest Add functionality to insert CRD to chart at package time. Insert CRD to static manifests as this is where they are currently consumed from. Signed-off-by: Irbe Krumina <[email protected]>
chen8945
pushed a commit
to Ckid-Home/tailscale
that referenced
this pull request
Jul 31, 2024
tailscale#10775) cmd/k8s-operator: add CRD to chart and static manifest Add functionality to insert CRD to chart at package time. Insert CRD to static manifests as this is where they are currently consumed from. Signed-off-by: Irbe Krumina <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #10641 for context.
This PR is the first part of the work of to ensure that users can install the Kubernetes operator and the CRD with a single command (either if using Helm or static manifests).
Changes:
.installCRDsto allow users to optionally not install the CRDNotes
Having the CRD duplicated in
./cmd/k8s-operator/deploy/crdsand./cmd/k8s-operator/deploy/manifests/operator.yamlis suboptimal. Long term we should look at deprecating./cmd/k8s-operator/deploy/manifests/operator.yamland instead publishing a versioned static manifest either to Github releases of this repo or packages server.Next steps after this PR merges:
Connectorfunctionality and have it on by default