Primarily this involved removing the release namespace, which is controlled by helm. If you want resources in a namespace you set --namespace= with helm install, anything else leaves helm unable to properly manage the resources. I think the functions namespace won't work either on a delete.
33 lines
585 B
YAML
33 lines
585 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: router
|
|
labels:
|
|
svc: router
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
spec:
|
|
type: {{ .Values.serviceType }}
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8888
|
|
nodePort: {{ .Values.routerPort }}
|
|
selector:
|
|
svc: router
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: controller
|
|
labels:
|
|
svc: controller
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
spec:
|
|
type: {{ .Values.serviceType }}
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8888
|
|
nodePort: {{ .Values.controllerPort }}
|
|
selector:
|
|
svc: controller
|