Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[AAI] Update certs to be valid until Jan 2022"
[oom.git]
/
kubernetes
/
aaf
/
components
/
aaf-templates
/
templates
/
_initContainers.tpl
diff --git
a/kubernetes/aaf/components/aaf-templates/templates/_initContainers.tpl
b/kubernetes/aaf/components/aaf-templates/templates/_initContainers.tpl
index
7cdf4d0
..
7553152
100644
(file)
--- a/
kubernetes/aaf/components/aaf-templates/templates/_initContainers.tpl
+++ b/
kubernetes/aaf/components/aaf-templates/templates/_initContainers.tpl
@@
-15,12
+15,16
@@
*/}
{{- define "aaf.permissionFixer" -}}
*/}
{{- define "aaf.permissionFixer" -}}
-- name: fix-permission
+- name:
onboard-identity-and-
fix-permission
command:
- /bin/sh
args:
- -c
- |
command:
- /bin/sh
args:
- -c
- |
+ echo "*** Move files from configmap to emptyDir"
+ cp -L /config-input-identity/* /config-identity/
+ echo "*** set righ user to the different folders"
+ chown -R 1000:1000 /config-identity
chown -R 1000:1000 /opt/app/aaf
chown -R 1000:1000 /opt/app/osaaf
image: {{ include "repositoryGenerator.image.busybox" . }}
chown -R 1000:1000 /opt/app/aaf
chown -R 1000:1000 /opt/app/osaaf
image: {{ include "repositoryGenerator.image.busybox" . }}
@@
-28,6
+32,10
@@
volumeMounts:
- mountPath: /opt/app/osaaf
name: aaf-config-vol
volumeMounts:
- mountPath: /opt/app/osaaf
name: aaf-config-vol
+ - mountPath: /config-input-identity
+ name: config-init-identity
+ - mountPath: /config-identity
+ name: config-identity
resources:
limits:
cpu: 100m
resources:
limits:
cpu: 100m