-
Notifications
You must be signed in to change notification settings - Fork 893
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
Fixes dex for kustomize 5 #2586
Conversation
@kromanow94 you could test/diff this as well. |
I was able to confirm that the output manifests from this PR and from latest
That said, from functional perspective I don't have anything to add. But, I suggest some small improvements related to readability. That's how I'd do it: diff --git a/common/dex/overlays/istio/kustomization.yaml b/common/dex/overlays/istio/kustomization.yaml
index 15ed5af7..4c522c1c 100644
--- a/common/dex/overlays/istio/kustomization.yaml
+++ b/common/dex/overlays/istio/kustomization.yaml
@@ -1,11 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
+namespace: auth
+
resources:
- ../../base
- virtual-service.yaml
-namespace: auth
+
configurations:
- params.yaml
+
replacements:
- source:
fieldPath: metadata.name |
/lgtm @kromanow94 just create a follow up PR, that will be faster. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alekseyolg, juliusvonkohout 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 |
While the command is running:
A warning appeared:
I used the command:
And also corrected errors received when executing this command. Manifests are now generated without warnings.
Please note that this PR should not affect the manifests themselves in any way, only the warning is removed.
Resolves #
Description of your changes:
Checklist:
Make sure you have installed kustomize == 3.2.1
make generate-changed-only
make test