-
Notifications
You must be signed in to change notification settings - Fork 45
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
Apply kustomize to hashing configMap's name #46
Conversation
Signed-off-by: Kim Bao Long <[email protected]> Co-Authored-By: Nguyen Phuong An <[email protected]>
Welcome @longkb! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: longkb The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for the ping @longkb ! The kustomization looks good and is inline with what I'd expect. A few points:
The operator could then use a declarative.ManifestOperation to replace the contents of the configmap with this value (or default it). The transforms are applied before kustomize build runs, so this would still give us the hashing/rollout of Corefile changes.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In static review, I have a few comments.
@@ -0,0 +1,17 @@ | |||
.:53 { | |||
errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in 1.3.1/manifest.yaml
, there are 4 spaces for indent.
Here is 8 spaces, is it ok?
@@ -5,3 +5,5 @@ require ( | |||
k8s.io/apimachinery v0.0.0-20190719140911-bfcf53abc9f8 | |||
k8s.io/code-generator v0.0.0-20190717022600-77f3a1fe56bb // indirect | |||
) | |||
|
|||
go 1.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this PR related to installer's code?
Should we include this change in this PR?
I faced 2 types of errors with execution of this PR's code. Type 1.
It says Type 2.
It says Reason for these error is that reading all files as JSON format and should have |
Thanks for investigating these issues @atoato88 - I agree there's changes needed in the library to support this, linked your comment in kubernetes-sigs/kubebuilder-declarative-pattern#56 for context. |
This has been resolved by #50 /close |
@johnsonj: Closed this PR. In response to this:
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. |
@longkb: PR needs rebase. 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. |
Signed-off-by: Kim Bao Long [email protected]
Co-Authored-By: Nguyen Phuong An [email protected]