-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
docs: ApplicationSets generators docs to use go templates (#16109) #16127
Conversation
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #16127 +/- ##
=======================================
Coverage 49.56% 49.56%
=======================================
Files 269 269
Lines 46668 46668
=======================================
Hits 23131 23131
Misses 21263 21263
Partials 2274 2274 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
…lates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
c8b3042
to
fd6510a
Compare
- id: infra | ||
- name: infra | ||
project: infra-project | ||
- id: team-two | ||
- name: team-two | ||
project: team-two-project | ||
template: |
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.
Good catches on the spacing/naming issues!
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.
Brilliant, thank you!
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> Signed-off-by: ymktmk <ymktmk.tt@gmail.com>
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> Signed-off-by: jmilic1 <70441727+jmilic1@users.noreply.github.com>
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> Signed-off-by: Kevin Lyda <kevin@lyda.ie>
@@ -122,6 +124,8 @@ kind: ApplicationSet | |||
metadata: | |||
name: cluster-git | |||
spec: | |||
goTemplate: true |
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.
@KunalSin9h Does this work?
Line 134 says:
Note that this would not work with goTemplate enabled,
nested merge keys are not supported there.
…goproj#16109) (argoproj#16127) * docs: migrating fasttemplate to go-template; Git Generator Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: missing yaml language specifier stopping syntax highlighting Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate List Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrate Matrix, Merge & SCM Provider Generators page to go-templates Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> * docs: migrating fasttemplate to go-template Signed-off-by: Kunal Singh <kunalsin9h@gmail.com> --------- Signed-off-by: Kunal Singh <kunalsin9h@gmail.com>
Checklist:
Fixes: #16109
This issue require lots of minors and major documentation update, so i am going to do this is small chunks so that it will be possible to get all details and do code review.
About the issue: As it is decided to remove support for fasttemplate with Go Template in ArgoCD v3.0.0, this pr update the documentation to use Go templates.
I am kicking it off by updating Git Generator page first. then after approval i will move froward.
Todo: