-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.15
-
No
-
3
-
Builds Sprint #3, OSDOCS Sprint 262
-
2
-
False
-
Description of problem:
When creating a service account, if an ImagePullSecret is specified that matches the pattern '${serviceAccountName}-dockercfg-' then the openshift-controller-manager will not create a token or pull secret for that service account
Version-Release number of selected component (if applicable):
4.15.8
How reproducible:
Consistent
Steps to Reproduce:
1. oc create secret docker-registry foo-dockercfg-bar --docker-username=example --docker-password=example 2. oc create -f - <<EOF kind: ServiceAccount apiVersion: v1 metadata: name: foo imagePullSecrets: - name: foo-dockercfg-bar EOF 3. oc get secrets,sa
Actual results:
Note that the default `kubernetes.io/dockercfg` and `kubernetes.io/service-account-token` are not created for that service account
Expected results:
in-cluster image registry pull secret generation works as expected
Additional info:
- is duplicated by
-
OCPBUGS-33992 Secret is getting updated and removes the pull-secret
-
- Closed
-