github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/weblogic-operator/templates/_operator-internal-svc.tpl (about)

     1  # Copyright (c) 2018, 2023, 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.operatorInternalService" }}
     5  {{- if and (hasKey . "enableRest") .enableRest }}
     6  ---
     7  apiVersion: "v1"
     8  kind: "Service"
     9  metadata:
    10    name: "internal-weblogic-operator-svc"
    11    namespace: {{ .Release.Namespace | quote }}
    12    labels:
    13      weblogic.operatorName: {{ .Release.Namespace | quote }}
    14  spec:
    15    type: "ClusterIP"
    16    selector:
    17      app: "weblogic-operator"
    18    ports:
    19      - port: 8082
    20        name: "rest"
    21        appProtocol: https
    22      - port: 8083
    23        name: "metrics"
    24        appProtocol: http
    25  {{- end }}
    26  ---
    27  {{- if not .operatorOnly }}
    28  apiVersion: "v1"
    29  kind: "Service"
    30  metadata:
    31    name: "weblogic-operator-webhook-svc"
    32    namespace: {{ .Release.Namespace | quote }}
    33    labels:
    34      weblogic.operatorName: {{ .Release.Namespace | quote }}
    35  spec:
    36    type: "ClusterIP"
    37    selector:
    38      app: "weblogic-operator-webhook"
    39    ports:
    40      - port: 8083
    41        name: "metrics"
    42        appProtocol: http
    43      - port: 8084
    44        name: "restwebhook"
    45        appProtocol: https
    46  {{- end }}
    47  {{- end }}