Skip to content

Commit

Permalink
set envvar from metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Cherkashyn authored Dec 12, 2019
1 parent 09b1dc0 commit f641642
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ spec:
env:
- name: MAPR_TICKETFILE_LOCATION
value: "/tmp/maprticket_202208"
# set environment variable from metadata
- name: PROJECT
valueFrom:
fieldRef:
fieldPath: metadata.namespace
restartPolicy: Never
backoffLimit: 4
```
Expand Down

0 comments on commit f641642

Please sign in to comment.