xtf-cz / xtf

MIT License
12 stars 55 forks source link

Handle secretKeyRef in ContainerBuilder #547

Closed tommaso-borgato closed 1 year ago

tommaso-borgato commented 1 year ago

This MR add the option to use secretKeyRef, besides configMapKeyRef, in DeploymentConfig generated by ContainerBuilder, e.g.:

        - name: KC_DB_USERNAME
          valueFrom:
            secretKeyRef:
              name: postgresql
              key: database-user
        - name: KC_DB_PASSWORD
          valueFrom:
            secretKeyRef:
              name: postgresql
              key: database-password

Please make sure your PR meets the following requirements:

mnovak1 commented 1 year ago

LGTM, merging. Thanks for the fix.