rancher-charts/packages/rancher-sriov/generated-changes/patch/templates/NOTES.txt.patch

21 lines
801 B
Diff

--- charts-original/templates/NOTES.txt
+++ charts/templates/NOTES.txt
@@ -3,4 +3,15 @@
$ kubectl -n {{ .Release.Namespace }} get pods
For additional instructions on how to use SR-IOV network operator,
-refer to: https://github.com/k8snetworkplumbingwg/sriov-network-operator
\ No newline at end of file
+refer to: https://github.com/k8snetworkplumbingwg/sriov-network-operator
+
+{{- if .Values.operator.enableAdmissionController }}
+{{- if not .Values.cert_manager }}
+Thank you for installing {{ .Chart.Name }}.
+
+WARNING! Self signed certificates have been generated for webhooks.
+These certificates have a one-year validity and will not be rotated
+automatically. This should not be a production cluster. Please deploy
+and use cert-manager for production clusters.
+{{- end }}
+{{- end }}