Closed stevendborrelli closed 3 years ago
+1 to this PR.
We are using SecretDefinitions for ArgoCD cluster secrets. Those secrets are filtered by the argo server by using argocd.argoproj.io/secret-type: cluster
label.
@eduardogr @fcgravalos do you need any help maintaining this project? We are using it internally and we would love to help keeping the project moving forward.
@eduardogr @fcgravalos do you need any help maintaining this project? We are using internally and we would love to help keeping the project moving forward.
@raelga i'm going to review this PR this week. And i'll talk about your proposal with my teammates. Do you want to talk about your usecases in a 1:1 chat or something?
LGTM :+1: Thanks for this PR @stevendborrelli and sorry for our delay reviewing it.
Can you please resolve conflicts within the file controllers/secretdefinition_controller_test.go?? After that i'll merge this PR
:pray: Thanks a lot!
Yes, I'll take a look at the conflicts. Thanks for the review!
Yes, I'll take a look at the conflicts. Thanks for the review!
@stevendborrelli do you need some help with this?
Hello @stevendborrelli, do you need any help with this PR?
@stevendborrelli do you want us to continue this branch in order to integrate this feature? Could we help you ??
@eduardogr if you want to take a look at it. There is a merge conflict that brings up some other code issues that I am not familiar with. I can review it again so see if we can rebase it against the newest commits in master.
@eduardogr if you want to take a look at it. There is a merge conflict that brings up some other code issues that I am not familiar with. I can review it again so see if we can rebase it against the newest commits in master.
@stevendborrelli I will and I will contact you as soon as I have
@stevendborrelli what do you think if i create a branch from this one to solve conflicts and merge it in a different PR?
I've just create the PR #78 from this branch and adding more changes. If you @stevendborrelli are OK with this, i'll proceed with the integration of your changes.
Thanks in advance
Sounds good to me! I'll take a look at PR #78 and close this PR.
Thanks a lot @stevendborrelli
This adds functionality to copy Labels and Annotations from the SecretDef to the generated secret. This is needed for tools like Tekton Git authentication, and addresses #62
This also updates the
managed-by
andupdatedAt
labels to more closely match k8s recommended values (using annotations and recommended labels), as seen below:If the Security definitions have the following labels & annotations:
Then the secret generated will have the following labels & annotations: