Skip to content

Commit

Permalink
[freetakserver] update
Browse files Browse the repository at this point in the history
  • Loading branch information
rlex committed Jun 26, 2020
1 parent 26798b6 commit 5ba77cf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions charts/freetakserver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: freetakserver
version: 1.0.4
appVersion: 0.8.19
version: 1.0.5
appVersion: 0.8.23
home: https://github.com/Tapawingo/FreeTakServer
description: FTS is a Python3 implementation of the TAK Server
keywords:
Expand Down
19 changes: 0 additions & 19 deletions charts/freetakserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,3 @@ spec:
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
initContainers:
- name: create-datapackage-dir
image: busybox
command:
- mkdir
- "-p"
- "/data/fts_datapackages"
volumeMounts:
- name: datadir
mountPath: "/data"
- name: create-log-dir
image: busybox
command:
- mkdir
- "-p"
- "/data/logs"
volumeMounts:
- name: datadir
mountPath: "/data"
4 changes: 4 additions & 0 deletions charts/freetakserver/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
{{- range $key, $value := .Values.freetakserver.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
{{- if (or (eq .Values.freetakserver.serviceType "ClusterIP") (empty .Values.freetakserver.serviceType)) }}
type: ClusterIP
Expand Down
3 changes: 2 additions & 1 deletion charts/freetakserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ freetakserver:
# loadBalancerSourceRanges: []
## Set the externalTrafficPolicy in the Service to either Cluster or Local
# externalTrafficPolicy: Cluster

service:
annotations: {}
## Additional freetakserver container environment variables
##
extraEnv: {}
Expand Down

0 comments on commit 5ba77cf

Please sign in to comment.