Fix copy command
This commit is contained in:
@ -2,6 +2,6 @@ apiVersion: v2
|
|||||||
name: hasura
|
name: hasura
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
appVersion: v2.3.1
|
appVersion: v2.3.1
|
||||||
icon: https://raw.githubusercontent.com/hasura/graphql-engine/master/assets/brand/powered_by_hasura_primary_lightbg.svg
|
icon: https://raw.githubusercontent.com/hasura/graphql-engine/master/assets/brand/powered_by_hasura_primary_lightbg.svg
|
||||||
|
@ -27,11 +27,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: copy
|
- name: copy
|
||||||
image: "{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default "latest" }}"
|
image: "{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default "latest" }}"
|
||||||
command:
|
command: ["/bin/sh", "-c", "cp -R /{{ .Values.migrations.image.path }}/* /shared-data/"]
|
||||||
- cp
|
|
||||||
- -R
|
|
||||||
- '*'
|
|
||||||
- /shared/data
|
|
||||||
workingDir: /data
|
workingDir: /data
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
|
@ -15,12 +15,13 @@ image:
|
|||||||
extraEnvVarsSecret: ""
|
extraEnvVarsSecret: ""
|
||||||
|
|
||||||
migrations:
|
migrations:
|
||||||
# Docker image which contain migrations,metadata,config.yml inside /data directory
|
# Docker image which contain migrations,metadata,config.yml
|
||||||
image:
|
image:
|
||||||
registry: *registry
|
registry: *registry
|
||||||
repository: ""
|
repository: ""
|
||||||
tag: ""
|
tag: ""
|
||||||
pullSecrets: [ ]
|
pullSecrets: [ ]
|
||||||
|
path: /data
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
Reference in New Issue
Block a user