diff --git a/templates/kiss/Dockerfile b/templates/kiss/Dockerfile index 7f37191e..81bb6838 100644 --- a/templates/kiss/Dockerfile +++ b/templates/kiss/Dockerfile @@ -18,4 +18,5 @@ ADD *.sh **/*.yaml /src/ # Job Configuration WORKDIR /src -CMD [ "/bin/sh" "./install.sh" ] +ENTRYPOINT [ "/bin/sh" ] +CMD [ "./install.sh" ] diff --git a/templates/kiss/kiss-controller.yaml b/templates/kiss/kiss-controller.yaml index b74a8eb4..083f9c71 100644 --- a/templates/kiss/kiss-controller.yaml +++ b/templates/kiss/kiss-controller.yaml @@ -56,9 +56,11 @@ metadata: namespace: kiss rules: - apiGroups: + - "" - apiextensions.k8s.io - batch resources: + - configmaps - customresourcedefinitions - jobs verbs: diff --git a/templates/kiss/kiss-manager.yaml b/templates/kiss/kiss-manager.yaml index 0e0b33d9..d6907d65 100644 --- a/templates/kiss/kiss-manager.yaml +++ b/templates/kiss/kiss-manager.yaml @@ -16,7 +16,7 @@ spec: metadata: labels: name: manager - serviceType: internal + serviceType: proxy spec: securityContext: seccompProfile: