-
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): represent cluster credentials as a map #2648
Conversation
7101b95
to
cdde9ed
Compare
Hi, any news on this? I would be very useful for us. |
Hi, I'm for getting this in main. As this is breaking change for lots of people I would personally bundle this with another breaking things in next major release or do it as 2 phase process where old / new implementation lives side by side and old one will be removed later. |
Thanks! Fine for me to bundle with more breaking changes in the future; we're okay with keeping a local fork in the meantime. |
We can also create multiple breaking change, IMHO we do not need to wait. But I am fine with both :) |
Wondering if we could give this a push this week? :) |
There are some conflicts that needs resolving as well |
Yes, no worries, I'll fix that once somebody gives me the green light. I'd rather to avoid having to fix them several times. |
🟢 from my side 👍 |
Same ✔️ |
cdde9ed
to
c066685
Compare
Conflicts resolved, version bumped to 7.0.0 due to the backwards-incompatible change. |
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.
Line 10 and 14 also requires changes
{{- with .labels }}
{{- with .annotations }}
c066685
to
8eba6e7
Compare
Thanks for the review. I've added the requested changes, however it seems to work as expected (Helm v3.14.3) without specifying the scope in the With these values: configs:
clusterCredentials:
mycluster2:
server: https://mycluster2.example.com
labels:
foo: bar
annotations:
bar: foo
namespaces: namespace1,namespace2
clusterResources: true
config:
bearerToken: "<authentication token>"
tlsClientConfig:
insecure: false
caData: "<base64 encoded certificate>" The Secret object renders fine (both the labels and the annotations are included) with and without the modifications. |
So it can be merged with values coming from different sources. Closes argoproj#2592 Signed-off-by: Nacho Barrientos <nacho.barrientos@cern.ch>
8eba6e7
to
0ae5aa6
Compare
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.
Thanks a lot @nbarrientos 🙏
Closes #2592.
Checklist:
I'll re-generate the docsand bump the version if this change request goes forward. This contains non-backwards compatible changes. The rationale for this change is in the issue it closes.Thanks for considering it.