terraform-k8s
terraform-k8s copied to clipboard
Adding support for output annotations
Community Note
- Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request
This PR is adding the ability to define Annotations on the output Secret generated by the operator. This allows to consume the secret by other tools like kubernetes-reflector. This PR needs to be rebased once the PR #129 is merged to remove most of the changes in the CRD.
The Workspace can contain spec.outputAnnotations:
...
spec:
outputAnnotations:
foo: bar
...
Such Annotations are then inserted into the final output Secret:
$ kubectl get secret test-outputs
...
metadata:
annotations:
foo: bar
...
Release note for CHANGELOG:
Added ability to specify annotations for the output secret
This PR is rebased now.