github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/kiali-server/templates/oauth.yaml (about)

     1  {{- if .Capabilities.APIVersions.Has "route.openshift.io/v1" }}
     2  {{- if .Values.kiali_route_url }}
     3  ---
     4  apiVersion: oauth.openshift.io/v1
     5  kind: OAuthClient
     6  metadata:
     7    name: {{ include "kiali-server.fullname" . }}-{{ .Release.Namespace }}
     8    namespace: {{ .Release.Namespace }}
     9    labels:
    10      {{- include "kiali-server.labels" . | nindent 4 }}
    11  redirectURIs:
    12  - {{ .Values.kiali_route_url }}
    13  {{- if .Values.server.web_port }}
    14  - {{ .Values.kiali_route_url }}:{{ .Values.server.web_port }}
    15  {{- end }}
    16  grantMethod: auto
    17  {{- if .Values.auth.openshift.token_inactivity_timeout }}
    18  accessTokenInactivityTimeoutSeconds: {{ .Values.auth.openshift.token_inactivity_timeout }}
    19  {{- end }}
    20  {{- if .Values.auth.openshift.token_max_age }}
    21  accessTokenMaxAgeSeconds: {{ .Values.auth.openshift.token_max_age }}
    22  {{- end }}
    23  ...
    24  {{- end }}
    25  {{- end }}