update klusterlet helm chart (#925)

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This commit is contained in:
Zhiwei Yin
2025-04-01 09:47:29 +08:00
committed by GitHub
parent 5d6b19cbbd
commit 485d6ea2db
3 changed files with 51 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
{{- $generatedNamespace := include "agentNamespace" . }}
{{- if ne $generatedNamespace .Release.Namespace }}
{{- if or .Values.bootstrapHubKubeConfig .Values.externalManagedKubeConfig .Values.multiHubBootstrapHubKubeConfigs }}
apiVersion: v1
kind: Namespace
@@ -6,3 +8,4 @@ metadata:
workload.openshift.io/allowed: "management"
name: "{{ template "agentNamespace" . }}"
{{- end }}
{{- end }}

View File

@@ -1,4 +1,3 @@
{{- if not .Values.noOperator }}
{{- if .Values.images.imageCredentials.createImageCredentials }}
apiVersion: v1
kind: Secret
@@ -11,4 +10,3 @@ type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ template "imagePullSecret" . }}
{{- end }}
{{- end }}