Update chart to athens v0.4.0, other minor tweaks (#1218)

* Update chart to athens v0.4.0, other minor tweaks

* add service account as kubernetes good practices recommends that instead of using the created one by default.. It will also allow easier to add extra RBAC rules if such needs arrise later one.
This commit is contained in:
Rimas Mocevicius
2019-05-13 20:05:02 +01:00
committed by marpio
parent ffc64825ce
commit c1e947b825
4 changed files with 19 additions and 4 deletions
+3 -2
View File
@@ -1,11 +1,12 @@
name: athens-proxy
version: 0.2.4
appVersion: 0.3.1
version: 0.2.5
appVersion: 0.4.0
description: The proxy server for Go modules
icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png
keywords:
- Golang
- Package Management
- Goproxy
home: https://github.com/gomods/athens
sources:
maintainers:
+5
View File
@@ -1,3 +1,8 @@
{{- if .Values.ingress.enabled }}
The Athens can be accessed via URL:
{{- else }}
Get the Athens URL by running these commands:
{{- end }}
{{- if (and .Values.ingress.enabled .Values.ingress.tls) }}
{{- range .Values.ingress.hosts }}
https://{{ . }}
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "fullname" . }}
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
+2 -2
View File
@@ -2,7 +2,7 @@ replicaCount: 1
image:
registry: docker.io
repository: gomods/athens
tag: v0.3.1
tag: v0.4.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
@@ -24,7 +24,7 @@ service:
ingress:
enabled: false
# provie key/value annotations
# Provide key/value annotations
annotations:
# Provide an array of values for the ingress host mapping
hosts: