All checks were successful
Build PR in OBS / Build PR in OBS (pull_request_target) Successful in -36s
21 lines
874 B
YAML
21 lines
874 B
YAML
{{ if .Values.sriovOperatorConfig.deploy }}
|
|
apiVersion: sriovnetwork.openshift.io/v1
|
|
kind: SriovOperatorConfig
|
|
metadata:
|
|
name: default
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
enableInjector: {{ .Values.operator.admissionControllers.enabled }}
|
|
enableOperatorWebhook: {{ .Values.operator.admissionControllers.enabled }}
|
|
{{- with .Values.sriovOperatorConfig.configDaemonNodeSelector }}
|
|
configDaemonNodeSelector:
|
|
{{- range $k, $v := .}}{{printf "%s: \"%s\"" $k $v | nindent 4 }}{{ end }}
|
|
{{- end }}
|
|
logLevel: {{ .Values.sriovOperatorConfig.logLevel }}
|
|
disableDrain: {{ .Values.sriovOperatorConfig.disableDrain }}
|
|
configurationMode: {{ .Values.sriovOperatorConfig.configurationMode }}
|
|
{{- with .Values.sriovOperatorConfig.featureGates }}
|
|
featureGates:
|
|
{{- range $k, $v := .}}{{printf "%s: %t" $k $v | nindent 4 }}{{ end }}
|
|
{{- end }}
|
|
{{ end }} |