NOTEThere are other ways to handle this such as theExternal Secrets Operator or other projects likeSealed Secrets , however for simplicity for this walkthrough, we are going to pre-create the secret for this workflow. oc create secret generic ldap-gitops\--namespace=$OCM_OPERATOR_NAMESPACE\--...
This would also allow for secret auto rotation in GitLab with sync in the Kubernetes secrets and Kubernetes Pods mounting the said Secret. The secrets will be stored in the database encrypted, as they are right now for CI/CD secrets. The user PAT would be created as a workspace level sec...