github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/weblogic-operator/templates/_operator.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  {{- if and (not (empty .Capabilities.APIVersions)) (not (.Capabilities.APIVersions.Has "policy/v1")) }}
     5  {{- fail "Kubernetes version 1.21 or greater is required." }}
     6  {{- end }}
     7  
     8  {{- define "operator.operator" -}}
     9  {{- include "operator.operatorClusterRoleGeneral" . }}
    10  {{- include "operator.operatorClusterRoleNamespace" . }}
    11  {{- if not (eq .domainNamespaceSelectionStrategy "Dedicated") }}
    12  {{-   include "operator.operatorClusterRoleNonResource" . }}
    13  {{- end }}
    14  {{- include "operator.operatorClusterRoleOperatorAdmin" . }}
    15  {{- include "operator.operatorClusterRoleDomainAdmin" . }}
    16  {{- include "operator.clusterRoleBindingGeneral" . }}
    17  {{- if not (eq .domainNamespaceSelectionStrategy "Dedicated") }}
    18  {{-   include "operator.clusterRoleBindingNonResource" . }}
    19  {{- end }}
    20  {{- include "operator.operatorRole" . }}
    21  {{- include "operator.operatorRoleBinding" . }}
    22  {{- include "operator.operatorConfigMap" . }}
    23  {{- if and .elkIntegrationEnabled .createLogStashConfigMap }}
    24  {{-   include "operator.logStashConfigMap" . }}
    25  {{- end }}
    26  {{- include "operator.operatorSecrets" . }}
    27  {{- include "operator.operatorDeployment" . }}
    28  {{- include "operator.operatorInternalService" . }}
    29  {{- include "operator.operatorExternalService" . }}
    30  {{- include "operator.operatorWebhookExternalService" . }}
    31  {{- if or (not .enableClusterRoleBinding) (eq .domainNamespaceSelectionStrategy "Dedicated") }}
    32  {{-   include "operator.domainNamespaces" . }}
    33  {{- else }}
    34  {{-   include "operator.operatorRoleBindingNamespace" . }}
    35  {{- end }}
    36  {{- end }}