File tree 6 files changed +23
-22
lines changed
6 files changed +23
-22
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ description: A Helm chart for deploying a SFTP stack
4
4
5
5
type : application
6
6
7
- version : 1.3 .0
7
+ version : 1.4 .0
8
8
9
9
appVersion : " 1.0"
Original file line number Diff line number Diff line change @@ -4,20 +4,7 @@ metadata:
4
4
name : {{ include "sftp.fullname" . }}-sftp-cm
5
5
labels :
6
6
{{- include "sftp.labels" . | nindent 4 }}
7
- app.georchestra.org : sftp
7
+ app.kubernetes.io/name : sftp
8
8
data :
9
9
authorized_keys : |
10
10
{{- .Values.sftp.authorized_keys | nindent 4 }}
11
- ---
12
- apiVersion : v1
13
- kind : ConfigMap
14
- metadata :
15
- name : {{ include "sftp.fullname" . }}-sftp-hostkeys-cm
16
- labels :
17
- {{- include "sftp.labels" . | nindent 4 }}
18
- app.georchestra.org : sftp
19
- data :
20
- {{- range $filename, $contents := .Values.sftp.host_keys }}
21
- {{ $filename }} : |
22
- {{- $contents | trim | nindent 4 }}
23
- {{- end }}
Original file line number Diff line number Diff line change @@ -4,17 +4,19 @@ metadata:
4
4
name : {{ include "sftp.fullname" . }}-sftp-depl
5
5
labels :
6
6
{{- include "sftp.labels" . | nindent 4 }}
7
- app.georchestra.org : sftp
7
+ app.kubernetes.io/name : sftp
8
8
spec :
9
9
selector :
10
10
matchLabels :
11
11
{{- include "sftp.selectorLabels" . | nindent 6 }}
12
- app.georchestra.org : sftp
12
+ app.kubernetes.io/name : sftp
13
13
template :
14
14
metadata :
15
15
labels :
16
16
{{- include "sftp.selectorLabels" . | nindent 8 }}
17
- app.georchestra.org : sftp
17
+ app.kubernetes.io/name : sftp
18
+ annotations :
19
+ checksum/config : {{ include (print $.Template.BasePath "/sftp-cm.yaml") . | sha256sum }}
18
20
spec :
19
21
{{- with .Values.sftp.imagePullSecrets }}
20
22
imagePullSecrets :
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : ConfigMap
3
+ metadata :
4
+ name : {{ include "sftp.fullname" . }}-sftp-hostkeys-cm
5
+ labels :
6
+ {{- include "sftp.labels" . | nindent 4 }}
7
+ app.kubernetes.io/name : sftp
8
+ data :
9
+ {{- range $filename, $contents := .Values.sftp.host_keys }}
10
+ {{ $filename }} : |
11
+ {{- $contents | trim | nindent 4 }}
12
+ {{- end }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : {{ include "sftp.fullname" . }}-sftp-svc
5
5
labels :
6
6
{{- include "sftp.labels" . | nindent 4 }}
7
- app.georchestra.org : sftp
7
+ app.kubernetes.io/name : sftp
8
8
spec :
9
9
type : {{ .Values.sftp.service.type }}
10
10
{{- if .Values.sftp.service.externalTrafficPolicy }}
Original file line number Diff line number Diff line change 6
6
# nodePort: 30022 # when type NodePort
7
7
# Set to local if want to preserve source IP for NodePort or LoadBalancer
8
8
# externalTrafficPolicy: Cluster
9
- image : camptocamp/sftp:bullseye-k8s-georchestra
9
+ image : ghcr.io/ camptocamp/georchestra-docker-images/sftp-server:latest
10
10
imagePullPolicy : Always
11
- # lifecycle:
11
+ lifecycle : {}
12
12
# postStart:
13
13
# exec:
14
14
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
15
15
# preStop:
16
16
# exec:
17
17
# command: ["/bin/sh","-c","nginx -s quit; while killall -0 nginx; do sleep 1; done"]
18
18
19
- # imagePullSecrets:
19
+ imagePullSecrets : []
20
20
# - name: secret
21
21
22
22
customHostname : " {{ .Release.Name }}-{{ .Release.Namespace }}"
You can’t perform that action at this time.
0 commit comments