-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(argo-cd): Add DRY support for Ingress #3081
Conversation
@@ -9,7 +9,7 @@ metadata: | |||
labels: | |||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }} | |||
{{- with .Values.server.ingress.labels }} | |||
{{- toYaml . | nindent 4 }} | |||
{{- tpl (toYaml .) . | nindent 4 }} |
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.
tpl (toYaml .) .
within the with
context will fail since .
here refers to the current context (i.e. .Values.server.ingress.labels
) and not the root context.
To refer to the root context, you should change the tpl
call to tpl (toYaml .) $
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.
changed tpl call to tpl (toYaml .) $
Hi @gyajangi1 , please handle the items below (they are on PR description).
|
Hi @gyajangi1 , you marked this PR as ready but where are the diffs for above? |
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Thanks @gyajangi1 for your contribution and your patience 🙏 |
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Checklist: