mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-11 13:20:19 +01:00
fixed missed conversions hyphen to underscores
This commit is contained in:
parent
68dc5d9442
commit
e965e296ec
2 changed files with 4 additions and 4 deletions
|
@ -222,8 +222,8 @@ kubectl run transfersh --restart=Never --image=dutchcoders/transfer.sh:latest --
|
||||||
# Manual process of Helm chart deployment
|
# Manual process of Helm chart deployment
|
||||||
# if your service is going to run behind nginx or any other proxy then update, proxy-path variable too in deployment.yaml, by-default it is blank.
|
# if your service is going to run behind nginx or any other proxy then update, proxy-path variable too in deployment.yaml, by-default it is blank.
|
||||||
|
|
||||||
# manually create needed secrets for deployment params totally aligned with [Usage Params](https://github.com/dutchcoders/transfer.sh#usage-1)
|
# Example to manually create needed secrets for deployment params totally aligned with [Usage Params](https://github.com/dutchcoders/transfer.sh#usage-1)
|
||||||
kubectl create secret generic transfersh-secrets --from-literal=HTTP_AUTH_USER=$HTTP_AUTH_USER --from-literal=HTTP_AUTH_PASS=$HTTP_AUTH_PASS --from-literal=AWS_ACCESS_KEY=$AWS_ACCESS_KEY --from-literal=AWS_SECRET_KEY=$AWS_SECRET_KEY --from-literal=BUCKET=$BUCKET --from-literal=S3_REGION=$S3_REGION --from-literal=PROXY_PATH=$PROXY_PATH
|
kubectl create secret generic transfersh-secrets --from-literal=HTTP_AUTH_USER=$HTTP_AUTH_USER --from-literal=HTTP_AUTH_PASS=$HTTP_AUTH_PASS --from-literal=AWS_ACCESS_KEY=$AWS_ACCESS_KEY --from-literal=AWS_SECRET_KEY=$AWS_SECRET_KEY --from-literal=BUCKET=$BUCKET --from-literal=S3_REGION=$S3_REGION --from-literal=PROXY_PATH=$PROXY_PATH --from-literal=PROVIDER=$PROVIDER
|
||||||
|
|
||||||
cd charts/transfersh
|
cd charts/transfersh
|
||||||
helm install --debug --name=transfersh transfersh/
|
helm install --debug --name=transfersh transfersh/
|
||||||
|
|
|
@ -27,11 +27,11 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
{{- range .Values.argValues.paramNames }}
|
{{- range .Values.argValues.paramNames }}
|
||||||
env:
|
env:
|
||||||
- name: {{ . | upper }}
|
- name: {{ . | upper | replace "-" "_" }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
{{ $keyRefSource }}:
|
{{ $keyRefSource }}:
|
||||||
name: {{ $keyRefName }}
|
name: {{ $keyRefName }}
|
||||||
key: {{ . | upper }}
|
key: {{ . | upper | replace "-" "_"}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
args: [ {{- range .Values.argValues.paramNames }} {{ printf "%s%s" $.Values.argIdentifier . | quote}},{{ printf "%s%s%s" "$(" . ")" | upper | replace "-" "_" | quote}},{{- end }} ]
|
args: [ {{- range .Values.argValues.paramNames }} {{ printf "%s%s" $.Values.argIdentifier . | quote}},{{ printf "%s%s%s" "$(" . ")" | upper | replace "-" "_" | quote}},{{- end }} ]
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
Loading…
Reference in a new issue