Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Extend K8S and RIC installation instructions
[it/dep.git]
/
ric-aux
/
80-Auxiliary-Functions
/
helm
/
dashboard
/
templates
/
deployment.yaml
diff --git
a/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml
b/ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml
index
f5561d7
..
3ba4644
100644
(file)
--- a/
ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml
+++ b/
ric-aux/80-Auxiliary-Functions/helm/dashboard/templates/deployment.yaml
@@
-40,6
+40,9
@@
spec:
hostname: {{ include "common.name.dashboard" . }}
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
hostname: {{ include "common.name.dashboard" . }}
imagePullSecrets:
- name: {{ include "common.repositoryCred" . }}
+ {{- with .Values.dashboard.nodeselector }}
+ nodeSelector: {{ toYaml . | trim | nindent 8 -}}
+ {{- end }}
containers:
- name: {{ include "common.containername.dashboard" . }}
image: {{ include "common.repository" . }}/{{ .Values.dashboard.image.name }}:{{ .Values.dashboard.image.tag }}
containers:
- name: {{ include "common.containername.dashboard" . }}
image: {{ include "common.repository" . }}/{{ .Values.dashboard.image.name }}:{{ .Values.dashboard.image.tag }}
@@
-61,16
+64,22
@@
spec:
mountPath: /maven/portal.properties
subPath: portal.properties
readOnly: true
mountPath: /maven/portal.properties
subPath: portal.properties
readOnly: true
- - name: dashboard-users
- mountPath: /dashboard-data
+# Temp solution until portal 2.6
+ - name: appconfig
+ mountPath: /dashboard-data/users.json
+ subPath: users.json
+# - name: dashboard-users
+# mountPath: /dashboard-data
livenessProbe:
httpGet:
livenessProbe:
httpGet:
- path: /api/admin/
version
+ path: /api/admin/
health
port: http
port: http
+ initialDelaySeconds: 15
readinessProbe:
httpGet:
readinessProbe:
httpGet:
- path: /api/admin/
health
+ path: /api/admin/
version
port: http
port: http
+ initialDelaySeconds: 15
volumes:
- name: appconfig
configMap:
volumes:
- name: appconfig
configMap: