mirror of https://git.rancher.io/charts
24 lines
661 B
YAML
24 lines
661 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: '{{ template "gatekeeper.name" . }}'
|
||
|
chart: '{{ template "gatekeeper.name" . }}'
|
||
|
gatekeeper.sh/system: "yes"
|
||
|
heritage: '{{ .Release.Service }}'
|
||
|
release: '{{ .Release.Name }}'
|
||
|
name: gatekeeper-webhook-service
|
||
|
namespace: '{{ .Release.Namespace }}'
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 443
|
||
|
targetPort: 8443
|
||
|
selector:
|
||
|
app: '{{ template "gatekeeper.name" . }}'
|
||
|
chart: '{{ template "gatekeeper.name" . }}'
|
||
|
control-plane: controller-manager
|
||
|
gatekeeper.sh/operation: webhook
|
||
|
gatekeeper.sh/system: "yes"
|
||
|
heritage: '{{ .Release.Service }}'
|
||
|
release: '{{ .Release.Name }}'
|