21 lines
528 B
YAML
21 lines
528 B
YAML
|
{{- if not .Values.cert_manager -}}
|
||
|
{{- if .Values.operator.enableAdmissionController }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: operator-webhook-service
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
data: {{ include "sriov_operator_cert" . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
---
|
||
|
{{- if .Values.operator.enableAdmissionController }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: network-resources-injector-secret
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
data: {{ include "sriov_resource_injector_cert" . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
|