File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ dependencies:
37
37
alias : tunnel-client
38
38
condition : tunnel-client.enabled
39
39
- name : codefresh-gitops-operator
40
- repository : oci://quay.io/codefresh/charts
41
- version : 0.2.12
40
+ repository : oci://quay.io/codefresh/charts/dev
41
+ version : 0.0.0-feat-cr-24670-namespaced-install
42
42
alias : gitops-operator
43
43
condition : gitops-operator.enabled
44
44
- name : garage
Original file line number Diff line number Diff line change 4
4
{{- $_ := set $appProxyContext "Values" (get .Values "app-proxy") }}
5
5
{{- $_ := set $appProxyContext.Values "global" (get .Values "global") }}
6
6
apiVersion : rbac.authorization.k8s.io/v1
7
- kind : ClusterRoleBinding
7
+ kind : {{ $appProxyContext.Values.singleNamespace | ternary "RoleBinding" " ClusterRoleBinding" }}
8
8
metadata :
9
9
name : cap-app-proxy-argo-workflows
10
+ {{- if $appProxyContext.Values.singleNamespace }}
11
+ namespace : {{ .Release.Namespace }}
12
+ {{- end }}
10
13
roleRef :
11
14
apiGroup : rbac.authorization.k8s.io
12
- kind : ClusterRole
15
+ kind : {{ $appProxyContext.Values.singleNamespace | ternary "Role" " ClusterRole" }}
13
16
name : {{ include "codefresh-gitops-runtime.argo-workflows.server.name" . }}
14
17
subjects :
15
18
- kind : ServiceAccount
16
19
name : {{ include "cap-app-proxy.serviceAccountName" $appProxyContext }}
17
20
namespace : {{ .Release.Namespace }}
18
- {{- end }}
21
+ {{- end }}
Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ tunnel-client:
370
370
# -----------------------------------------------------------------------------------------------------------------------
371
371
app-proxy :
372
372
replicaCount : 1
373
+ singleNamespace : false
373
374
# -- Image enrichment process configuration
374
375
image-enrichment :
375
376
# -- Enable or disable enrichment process. Please note that for enrichemnt, argo-workflows has to be enabled as well.
@@ -549,6 +550,7 @@ gitops-operator:
549
550
# -- Additional labels for gitops operator CRDs
550
551
additionalLabels : {}
551
552
553
+ singleNamespace : false
552
554
env : {}
553
555
image : {}
554
556
# -- defaults
You can’t perform that action at this time.
0 commit comments