-
Notifications
You must be signed in to change notification settings - Fork 8
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
#313 baton migration for argocd template changes #317
#313 baton migration for argocd template changes #317
Conversation
a4d378b
to
4372505
Compare
continue; | ||
} | ||
|
||
if (startSpecConfig && !line.isEmpty() && !line.startsWith(SPEC_INDENTION)) { |
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.
A: Probably better to use the same indentation detection logic as you wrote for the values file migration
Then the template is unchanged | ||
|
||
Scenario: A not ArgoCD application template is not impacted by this migration | ||
Given a not application ArgoCD 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.
A:
Given a not application ArgoCD template | |
Given a template that is not an ArgoCD application |
- CreateNamespace=true | ||
- ApplyOutOfSyncOnly=true | ||
automated: | ||
prune |
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.
A: Because this is a yml list, the proper format would be to precede with -
. Doesn't really matter much as we're just confirming that the content is preserved.
Edit: sorry got confused with syncOptions
, would be prune: ""
. And the point still doesn't really matter haha
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.
ah this should be prune: true
. Let me correct it
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.
LGTM!
4372505
to
617c933
Compare
No description provided.