Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions deploy/openshift/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
labels:
template: exhort
objects:
- kind: ServiceAccount
apiVersion: v1
metadata:
name: '${SERVICE_ACCOUNT_NAME}'
- kind: Service
apiVersion: v1
metadata:
Expand Down Expand Up @@ -91,6 +95,7 @@ objects:
memory: ${MEMORY_REQUEST}
imagePullPolicy: Always
restartPolicy: Always
serviceAccountName: '${SERVICE_ACCOUNT_NAME}'

parameters:
- name: APP_NAME
Expand All @@ -113,6 +118,11 @@ parameters:
description: Container image tag
value: latest
required: true
- name: SERVICE_ACCOUNT_NAME
displayName: ServiceAccount name
description: The name of the ServiceAccount to use to run this pod.
value: exhort-sa
required: true
- name: SERVICE_NAME
displayName: Service name
description: Service name
Expand Down