43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: {{ template "storageos.name" . }}
|
|
app.kubernetes.io/component: operator
|
|
control-plane: storageos-operator
|
|
chart: {{ template "storageos.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
name: storageos-operator
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
ports:
|
|
- name: https
|
|
port: 8443
|
|
targetPort: https
|
|
selector:
|
|
app: {{ template "storageos.name" . }}
|
|
app.kubernetes.io/component: operator
|
|
control-plane: storageos-operator
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: {{ template "storageos.name" . }}
|
|
app.kubernetes.io/component: operator
|
|
chart: {{ template "storageos.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
name: storageos-operator-webhook
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
ports:
|
|
- port: 443
|
|
targetPort: 9443
|
|
selector:
|
|
app: {{ template "storageos.name" . }}
|
|
app.kubernetes.io/component: operator
|
|
control-plane: storageos-operator
|