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.5
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 @@ -403,6 +403,7 @@ tunnel-client:
403
403
# -----------------------------------------------------------------------------------------------------------------------
404
404
app-proxy :
405
405
replicaCount : 1
406
+ singleNamespace : false
406
407
# -- Image enrichment process configuration
407
408
image-enrichment :
408
409
# -- Enable or disable enrichment process. Please note that for enrichemnt, argo-workflows has to be enabled as well.
@@ -582,6 +583,7 @@ gitops-operator:
582
583
# -- Additional labels for gitops operator CRDs
583
584
additionalLabels : {}
584
585
586
+ singleNamespace : false
585
587
env : {}
586
588
image : {}
587
589
# -- defaults
You can’t perform that action at this time.
0 commit comments