Page MenuHomePhorge

utils-deployment.yaml
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

utils-deployment.yaml

# This is a container to run utility commands in, and is not meant to be running normally.
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
alpha.image.policy.openshift.io/resolve-names: '*'
labels:
app: utils
app.kubernetes.io/name: utils
app.kubernetes.io/part-of: kolab-app
name: utils
spec:
replicas: 0
revisionHistoryLimit: 10
selector:
matchLabels:
app: utils
strategy:
type: Recreate
template:
metadata:
labels:
app: utils
spec:
{{- if .Values.image.pullSecret }}
imagePullSecrets:
- name: registry-pull-secret
{{- end }}
containers:
- name: utils
image: {{ .Values.image.utilsImage }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ['sh', '-c', 'while true; do sleep 20; done']
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: APP_DOMAIN
valueFrom:
configMapKeyRef:
key: APP_DOMAIN
name: kolab-config
{{- if .Values.serviceAccounts.monitoring1.user }}
- name: MONITORING1_USER
valueFrom:
secretKeyRef:
key: MONITORING1_USER
name: kolab-config-secret
- name: MONITORING1_PASSWORD
valueFrom:
secretKeyRef:
key: MONITORING1_PASSWORD
name: kolab-config-secret
- name: MONITORING2_USER
valueFrom:
secretKeyRef:
key: MONITORING2_USER
name: kolab-config-secret
- name: MONITORING2_PASSWORD
valueFrom:
secretKeyRef:
key: MONITORING2_PASSWORD
name: kolab-config-secret
{{- end }}
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 3:11 AM (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/11/10cf72d2c5eba890126d1fa2fcf7
Default Alt Text
utils-deployment.yaml (1 KB)

Event Timeline