Skip to content

Instantly share code, notes, and snippets.

@m0smith
Last active August 21, 2023 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m0smith/b185102e573346ece3b31f1c000daf3e to your computer and use it in GitHub Desktop.
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
# 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