github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/weblogic-operator/templates/_operator-webhook-external-svc.tpl (about) 1 # Copyright (c) 2022, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 {{- define "operator.operatorWebhookExternalService" }} 5 {{- if and (.remoteDebugNodePortEnabled) (not .operatorOnly) }} 6 --- 7 apiVersion: "v1" 8 kind: "Service" 9 metadata: 10 name: "external-weblogic-operator-webhook-svc" 11 namespace: {{ .Release.Namespace | quote }} 12 labels: 13 weblogic.operatorName: {{ .Release.Namespace | quote }} 14 spec: 15 type: "NodePort" 16 selector: 17 app: "weblogic-operator-webhook" 18 ports: 19 - name: "debug" 20 port: {{ .webhookDebugHttpPort }} 21 appProtocol: http 22 nodePort: {{ .webhookDebugHttpPort }} 23 {{- end }} 24 {{- end }}