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