diff --git a/stable/voyager/Chart.yaml b/stable/voyager/Chart.yaml index cc1e54ed4e..eb01207ddd 100755 --- a/stable/voyager/Chart.yaml +++ b/stable/voyager/Chart.yaml @@ -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: diff --git a/stable/voyager/README.md b/stable/voyager/README.md index f553e50eb7..191b801a35 100644 --- a/stable/voyager/README.md +++ b/stable/voyager/README.md @@ -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` | diff --git a/stable/voyager/templates/deployment.yaml b/stable/voyager/templates/deployment.yaml index 19b9ccb3c6..e673d419af 100644 --- a/stable/voyager/templates/deployment.yaml +++ b/stable/voyager/templates/deployment.yaml @@ -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 -}} diff --git a/stable/voyager/templates/svc.yaml b/stable/voyager/templates/svc.yaml index 1393a6e06d..deae3a4cb4 100644 --- a/stable/voyager/templates/svc.yaml +++ b/stable/voyager/templates/svc.yaml @@ -10,7 +10,7 @@ metadata: spec: ports: - name: http - port: 8080 + port: 56790 targetPort: http selector: app: {{ template "name" . }} diff --git a/stable/voyager/values.yaml b/stable/voyager/values.yaml index 1e66d23489..06a2f2dee8 100644 --- a/stable/voyager/values.yaml +++ b/stable/voyager/values.yaml @@ -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