28 lines
785 B
YAML
28 lines
785 B
YAML
{{- if eq (include "k10.isOpenShift" .) "true" -}}
|
|
apiVersion: console.openshift.io/v1
|
|
kind: ConsolePlugin
|
|
metadata:
|
|
name: {{ template "k10.openShiftConsolePluginCRName" . }}
|
|
labels:
|
|
{{ include "helm.labels" . | indent 4 }}
|
|
component: {{ template "k10.openShiftConsolePluginName" . }}
|
|
spec:
|
|
displayName: Veeam Kasten Plugin
|
|
backend:
|
|
type: Service
|
|
service:
|
|
name: {{ template "k10.openShiftConsolePluginName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
port: 9443
|
|
basePath: /
|
|
proxy:
|
|
- alias: dashboardbff
|
|
authorization: UserToken
|
|
endpoint:
|
|
service:
|
|
name: {{ template "k10.openShiftConsolePluginProxyName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
port: 443
|
|
type: Service
|
|
{{- end -}}
|