You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/08/11 07:09:13 UTC
[camel-k] branch main updated: fix: fix invalid type mapping for operator resources and securityContext
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new d4eadad5e fix: fix invalid type mapping for operator resources and securityContext
d4eadad5e is described below
commit d4eadad5e68d3af5c91a6b86e5b88cc128f23027
Author: zhiming.lim.e@thalesdigital.io <zh...@thalesdigital.io>
AuthorDate: Fri Aug 5 00:05:46 2022 +0800
fix: fix invalid type mapping for operator resources and securityContext
---
helm/camel-k/templates/operator.yaml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/helm/camel-k/templates/operator.yaml b/helm/camel-k/templates/operator.yaml
index aac26c1c0..6ef4a1d88 100644
--- a/helm/camel-k/templates/operator.yaml
+++ b/helm/camel-k/templates/operator.yaml
@@ -68,6 +68,12 @@ spec:
ports:
- containerPort: 8080
name: metrics
- resources: {{ .Values.operator.resources }}
- securityContext: {{ .Values.operator.securityContext }}
+ {{- with .Values.operator.resources }}
+ resources:
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
+ {{- with .Values.operator.securityContext }}
+ securityContext:
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
serviceAccountName: camel-k-operator