-
Notifications
You must be signed in to change notification settings - Fork 787
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: applicationset volumes and volumemounts spec #1563
feat: applicationset volumes and volumemounts spec #1563
Conversation
4ace5a4
to
874e0c2
Compare
@svghadi can you please help me with the following questions: see newly created issue #1566 for running this locally. Would be very handy to be able to test the kuttl tests locally. Would decrease a cycle with 45 mins in this case. Edit: I've come to the conclusion that I've was using the v1alpha1 api in the e2e-test and changed the v1beta1 api. Which raises my question. Is it OK to only change v1beta1 spec? |
62d1923
to
7ccf2f1
Compare
@svghadi ready for your approval! |
Well, it depends on the feature. Personally, I try to add e2e tests for every feature. However, sometimes it can be tricky, so exceptions can be made.
Yes. v1alpha1 is deprecated so changes to v1beta1 only are fine. |
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.
Left a suggestion, rest all looks good.
Also, it would be good to have a unit or e2e test to check default vols & mounts when additional vols & mounts are not set/removed from ArgoCD CR.
7ccf2f1
to
96b7f08
Compare
There already is, each test calling: https://github.com/appiepollo14/argocd-operator/blob/feat/appsetcontroller-extra-volume-mounts/controllers/argocd/applicationset_test.go#L106 checks the default vols * mounts. |
Okay. Looks good then. Can you fix the merge conflicts? |
* Adds volumes and volumeMounts to argocd types * Adds volumes ans volumeMounts to appset deployment and pod * Updates generated files * Updates docs * Adds unit tests * Adds e2e-test Signed-off-by: appiepollo14 <[email protected]>
96b7f08
to
536c09e
Compare
Fixed! |
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.
Thanks @appiepollo14 for the contribution.
What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
To be able to add extra volumes and volumeMounts to the appSet deployment, see related issue.
Have you updated the necessary documentation?
Documentation update is required by this PR.
Documentation has been updated.
Which issue(s) this PR fixes:
Fixes redhat-developer/gitops-operator#620
How to test changes / Special notes to the reviewer: