Last active
August 21, 2023 17:22
-
-
Save m0smith/b185102e573346ece3b31f1c000daf3e to your computer and use it in GitHub Desktop.
YAML fragment to add apply an existing OpenShift secret to a deployment when using the openshift maven plugin: oc:resource oc:apply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this file in src/main/jkube | |
spec: | |
template: | |
spec: | |
containers: | |
- envFrom: | |
- secretRef: | |
name: my-secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment