cyberark/secrets-provider-for-k8s

View on GitHub
deploy/config/openshift/app-conjur-authenticator-role-binding.sh.yml

Summary

Maintainability
Test Coverage
#!/bin/bash

set -euo pipefail
cat << EOL
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: app-conjur-authenticator-role-binding-${CONJUR_NAMESPACE_NAME}
  namespace: ${APP_NAMESPACE_NAME}
subjects:
  - kind: ServiceAccount
    name: conjur-cluster
    namespace: ${CONJUR_NAMESPACE_NAME}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: conjur-authenticator-${CONJUR_NAMESPACE_NAME}
EOL