From 44e2c96ef8c2bbbd77ae3815a095fed6fdca6b22 Mon Sep 17 00:00:00 2001 From: Miguel Duarte Barroso Date: Wed, 27 Apr 2022 10:10:53 +0200 Subject: [PATCH] config, scc: add volume parameter The volume parameter is marked as required in the CRD definition - [0] - but is not listed as required in the official openshift API - [1]. The tracker bug requesting the API documentation to be updated can be found in [2]. [0] - https://github.com/openshift/api/blob/a6156965faae5ce117e3cd3735981a3fc0e27e27/security/v1/0000_03_security-openshift_01_scc.crd.yaml#L73 [1] - https://docs.openshift.com/container-platform/4.10/rest_api/security_apis/securitycontextconstraints-security-openshift-io-v1.html [2] - https://bugzilla.redhat.com/show_bug.cgi?id=2079224 Signed-off-by: Miguel Duarte Barroso --- templates/scc.yaml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/scc.yaml.in b/templates/scc.yaml.in index 0e93721a..20fe30e7 100644 --- a/templates/scc.yaml.in +++ b/templates/scc.yaml.in @@ -16,3 +16,5 @@ seLinuxContext: type: RunAsAny users: - system:serviceaccount:{{ .Namespace }}:macvtap-cni +volumes: + - hostPath