-
Notifications
You must be signed in to change notification settings - Fork 68
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
failed setting controller reference
error when using a Secret generated by SealedSecret to create a RabbitMQ User
#686
Comments
failed setting controller reference
error when using a Secret generated by SealedSecret to create a RabbitMQ User
This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring. |
hey, thank you for reporting this issue. I believe there's value in providing compatibility with sealed secrets. I've marked this issue as never-stale. However, I don't have time to get to this issue any time soon. A contribution would be very welcome 🙂 |
I'm experiencing the same issue.. |
I am having the same issue. Is there any workaround, specifying a different sealed secret controller or something in that direction ? Anything you tried and can recommend ? |
HI @AlbertoArconada , thanks a lot for responding so quickly. The issue seems to still persist for us. Rabbitmq application is already running and deployed including the user with argocd. What I have done:
I can take a look at what versions we are using and look further into debugging, just wanted to check with you that this is the approach, that worked for you, or if I did misunderstand something. |
Describe the bug
To avoid having base64 encoded credentials in my repos, I'm trying to use SealedSecrets to have encrypted credentials.
When a sealedsecret is applied, in the background this operator creates a secret in the same K8s namespace with the same name that contains Base64 encoded. Just for context, when generated, this secret contains some ownerReferences values.
Then, when I try to apply the template of a user that refers to that generated secret, I receive this error:
failed setting controller reference: Object namespace/name-of-the-secret is already owned by another SealedSecret controller name-of-the-sealed-secret
To Reproduce
Steps to reproduce the behavior:
kubeseal
commandimportCredentialsSecret
->name
field points to the secret created in step 1Include any YAML or manifest necessary to reproduce the problem.
Cluster template
Secret template
User template
Expected behavior
The User should be created without any problem using the Secret generated by SealedSecret Operator.
Screenshots
Version and environment information
Additional context
The text was updated successfully, but these errors were encountered: