Skip to content

Commit

Permalink
ajout var environnement avec UID / GID
Browse files Browse the repository at this point in the history
  • Loading branch information
ramboz committed May 13, 2018
1 parent 722a271 commit bce9c8c
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deploy4bananas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ echo name : ${NAME}
echo package : ${PACKAGE}
echo namespace : ${NAMESPACE}

HOSTNAME=${NAME}.${NAMESPACE}.bananaspliff.org
HOSTNAME=${PACKAGE}.${NAMESPACE}.bananaspliff.org

echo eval hostname : ${HOSTNAME}

helm install ${PACKAGE} --name ${PACKAGE} --namespace ${NAMESPACE} \
--set ingress.enabled=true,ingress.hosts[0]=${HOSTNAME},ingress.tls[0].hosts[0]=${HOSTNAME},ingress.tls[0].secretName=${NAME}-${NAMESPACE}-bananaspliff.org
helm install ${PACKAGE} --name ${NAME}-${NAMESPACE} --namespace ${NAMESPACE} \
--set ingress.enabled=true,ingress.hosts[0]=${HOSTNAME},ingress.tls[0].hosts[0]=${HOSTNAME},ingress.tls[0].secretName=${PACKAGE}-${NAMESPACE}-bananaspliff.org

Binary file modified emby-0.1.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion emby/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "1.0"
description: Emby (Media Browser)
description: Emby Server (Media Browser)
name: emby
version: 0.1.0
2 changes: 2 additions & 0 deletions emby/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{ toYaml .Values.env | indent 12 }}
ports:
- name: http
containerPort: 8096
Expand Down
6 changes: 6 additions & 0 deletions emby/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ image:
tag: latest
pullPolicy: IfNotPresent

env:
- name: UID
value: "1001"
- name: GID
value: "100"

service:
type: ClusterIP
port: 80
Expand Down
Binary file modified jackett-0.1.0.tgz
Binary file not shown.
2 changes: 2 additions & 0 deletions jackett/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{ toYaml .Values.env | indent 12 }}
ports:
- name: http
containerPort: 9117
Expand Down
6 changes: 6 additions & 0 deletions jackett/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ image:
tag: latest
pullPolicy: IfNotPresent

env:
- name: PUID
value: "1001"
- name: PGID
value: "100"

service:
type: ClusterIP
port: 80
Expand Down
Binary file modified radarr-0.1.0.tgz
Binary file not shown.
2 changes: 2 additions & 0 deletions radarr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{ toYaml .Values.env | indent 12 }}
ports:
- name: http
containerPort: 7878
Expand Down
6 changes: 6 additions & 0 deletions radarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ image:
tag: latest
pullPolicy: IfNotPresent

env:
- name: PUID
value: "1001"
- name: PGID
value: "100"

service:
type: ClusterIP
port: 80
Expand Down
Binary file modified sftp-0.1.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion sftp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ volumes:

volumeMounts:
- name: myvolume
mountPath: "/home/banane"
mountPath: "/home/foo"

resources: {}

Expand Down
Binary file modified sonarr-0.1.0.tgz
Binary file not shown.
2 changes: 2 additions & 0 deletions sonarr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{ toYaml .Values.env | indent 12 }}
ports:
- name: http
containerPort: 8989
Expand Down
6 changes: 6 additions & 0 deletions sonarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ image:
tag: latest
pullPolicy: IfNotPresent

env:
- name: PUID
value: "1001"
- name: PGID
value: "100"

service:
type: ClusterIP
port: 80
Expand Down

0 comments on commit bce9c8c

Please sign in to comment.