File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ dependencies:
44
44
alias : tunnel-client
45
45
condition : tunnel-client.enabled
46
46
- name : codefresh-gitops-operator
47
- repository : oci://quay.io/codefresh/charts
48
- version : 0.3.12
47
+ repository : oci://quay.io/codefresh/charts/dev
48
+ version : 0.0.0-feat-cr-24670-namespaced-install
49
49
alias : gitops-operator
50
50
condition : gitops-operator.enabled
51
51
- 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 @@ -361,6 +361,7 @@ tunnel-client:
361
361
# -----------------------------------------------------------------------------------------------------------------------
362
362
app-proxy :
363
363
replicaCount : 1
364
+ singleNamespace : false
364
365
# -- Image enrichment process configuration
365
366
image-enrichment :
366
367
# -- Enable or disable enrichment process. Please note that for enrichemnt, argo-workflows has to be enabled as well.
@@ -521,11 +522,13 @@ gitops-operator:
521
522
annotations : {}
522
523
# -- Additional labels for gitops operator CRDs
523
524
additionalLabels : {}
525
+
526
+ singleNamespace : false
524
527
env : {}
525
- image : {}
528
+ image :
526
529
# -- defaults
527
530
# repository: quay.io/codefresh/codefresh-gitops-operator
528
- # tag: 'v{{ .Chart.AppVersion }}'
531
+ tag : feat-cr-24670-namespaced-install-cdc9a73
529
532
530
533
serviceAccount :
531
534
create : true
You can’t perform that action at this time.
0 commit comments