Skip to main content
3 of 3
added 3 characters in body
simbo1905
  • 1.2k
  • 5
  • 14

Okay the answer to this is that you can set spec.serviceAccountName on the dc and the secrets are mounted.

Annoyingly the same does not hold true for BuildConfig objects. They have an inconsistently named spec.serviceAccount. Setting that doesn’t mount any secrets associated with the sa. It also means your build isn’t an “image puller” until you explicitly set that up. So this configuration option appears pretty useless as at openshift 3.11.

simbo1905
  • 1.2k
  • 5
  • 14