Use apps/v1 for all statefulsets

This fixes orchestrator and pmm on k8s 1.16+. All of the other
statefulsets were already on apps/v1 so this just brings those two
components in line with the rest of the chart.

I have also fixed the printed proxy urls to actually work

Signed-off-by: Carson Anderson <ca@carsonoid.net>
This commit is contained in:
Carson Anderson 2020-04-17 09:26:36 -06:00
Родитель cc4f257a7e
Коммит f2ce1ea5ea
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -10,5 +10,5 @@ Then use the following URLs:
vtctld: {{$proxyURL}}/services/vtctld:web/proxy/app/ vtctld: {{$proxyURL}}/services/vtctld:web/proxy/app/
vtgate: {{$proxyURL}}/services/vtgate-{{$cell}}:web/proxy/ vtgate: {{$proxyURL}}/services/vtgate-{{$cell}}:web/proxy/
{{ if $.Values.orchestrator.enabled }}orchestrator: {{$proxyURL}}/services/orchestrator:web/{{ end }} {{ if $.Values.orchestrator.enabled }}orchestrator: {{$proxyURL}}/services/orchestrator:web/proxy/{{ end }}
{{ if $.Values.pmm.enabled }} pmm: {{$proxyURL}}/services/pmm:web/{{ end }} {{ if $.Values.pmm.enabled }} pmm: {{$proxyURL}}/services/pmm:web/proxy/{{ end }}

Просмотреть файл

@ -51,7 +51,7 @@ spec:
################################### ###################################
# Orchestrator StatefulSet # Orchestrator StatefulSet
################################### ###################################
apiVersion: apps/v1beta1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
name: orchestrator name: orchestrator

Просмотреть файл

@ -29,7 +29,7 @@ spec:
################################### ###################################
# pmm StatefulSet # pmm StatefulSet
################################### ###################################
apiVersion: apps/v1beta1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
name: pmm name: pmm