add idrive
This commit is contained in:
1 parent
5fb9fdaddb
commit
46f2c6197f
7 files changed
+192
No files matched your search
@@ -0,0 +1,40 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Release.Namespace }}-deployment
|
||||
labels:
|
||||
app: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Release.Namespace }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Release.Namespace }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Release.Namespace }}
|
||||
image: taptap1/idrive:{{ .Values.image.tag }}
|
||||
# env:
|
||||
# - name: TZ
|
||||
# value: .Values.env.timezone | quote }}
|
||||
volumeMounts:
|
||||
- name: {{ .Values.configMount.name }}
|
||||
mountPath: /opt/IDriveForLinux/idriveIt/user_profile
|
||||
{{- range .Values.mounts}}
|
||||
- name: {{ .name }}
|
||||
mountPath: /source/{{ .name }}
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: {{ .Values.configMount.name }}
|
||||
hostPath:
|
||||
path: {{ .Values.configMount.path }}
|
||||
{{- range .Values.mounts }}
|
||||
- name: {{ .name }}
|
||||
hostPath:
|
||||
path: {{ .path }}
|
||||
{{- end }}
|
||||
|
||||
Reference in new issue
Block a user