Update Voyager chart for 3.0.0 release (#1363)

* Update Voyager chart for 3.0.0 release

* Pass service account name via ENV var

* Add appVersion

* Update major chart version
This commit is contained in:
Tamal Saha
2017-06-26 22:08:27 +02:00
committed by Reinhard Nägele
parent 1ba823f7c3
commit 868eedebe1
5 changed files with 36 additions and 10 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ apiVersion: v1
description: Voyager provides controller for Ingress and Certificates for Kubernetes developed by AppsCode.
icon: https://cdn.appscode.com/images/icon/voyager.png
name: voyager
version: 0.1.0
version: 1.0.0
appVersion: 3.0.0
sources:
- https://github.com/appscode/voyager
maintainers:
+9 -6
View File
@@ -39,9 +39,12 @@ The command removes all the Kubernetes components associated with the chart and
The following tables lists the configurable parameters of the Voyager chart and their default values.
| Parameter | Description | Default |
| ----------------------- | ---------------------------- | -------------------- |
| `image` | Container image to run | `appscode/voyager` |
| `imageTag` | Image tag of container | `1.5.6` |
| `cloudProvider` | Name of cloud provider | `` |
| `logLevel` | Log level for voyager | `3` |
| Parameter | Description | Default |
| ----------------------- | ---------------------------------- | -------------------- |
| `image` | Container image to run | `appscode/voyager` |
| `imageTag` | Image tag of container | `3.0.0` |
| `cloudProvider` | Name of cloud provider | `` |
| `cloudConfig` | Path to cloud config | `` |
| `logLevel` | Log level for operator | `3` |
| `persistence.enabled` | Enable mounting cloud config | `false` |
| `persistence.hostPath` | Host mount path for cloud config | `/etc/kubernetes` |
+17 -1
View File
@@ -23,10 +23,26 @@ spec:
- args:
- run
- --cloud-provider={{ .Values.cloudProvider }}
- --cloud-config={{ .Values.cloudConfig }}
- --v={{ .Values.logLevel }}
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
name: voyager
env:
- name: OPERATOR_SERVICE_ACCOUNT
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
ports:
- containerPort: 8080
- containerPort: 56790
name: http
protocol: TCP
{{- if .Values.persistence.enabled }}
volumeMounts:
- mountPath: {{ dir .Values.cloudConfig | quote }}
name: cloudconfig
readOnly: true
volumes:
- hostPath:
path: {{ .Values.persistence.hostPath | quote }}
name: cloudconfig
{{- end -}}
+1 -1
View File
@@ -10,7 +10,7 @@ metadata:
spec:
ports:
- name: http
port: 8080
port: 56790
targetPort: http
selector:
app: {{ template "name" . }}
+7 -1
View File
@@ -2,8 +2,14 @@
## Voyager chart configuration
##
image: appscode/voyager
imageTag: 1.5.6
imageTag: 3.0.0
## Use cloud provider here. Read details https://github.com/appscode/voyager/blob/master/docs/user-guide/README.md
cloudProvider: cloud_provider
## The path to the cloud provider configuration file. Empty string for no configuration file.
## ie. for azure use /etc/kubernetes/azure.json
# cloudConfig: /etc/kubernetes/azure.json
## Log level for voyager
logLevel: 3
persistence:
enabled: false
hostPath: /etc/kubernetes