File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ description: Separated tenant namespace
44icon : /logos/tenant.svg
55
66type : application
7- version : 1.6.8
7+ version : 1.7.0
Original file line number Diff line number Diff line change 1+ {{- $cozyConfig := lookup "v1" "ConfigMap" "cozy-system" "cozystack" }}
2+ {{- $oidcEnabled := index $cozyConfig.data "oidc-enabled" }}
3+ {{- if $oidcEnabled }}
4+ apiVersion : helm.toolkit.fluxcd.io/v2
5+ kind : HelmRelease
6+ metadata :
7+ name : info
8+ namespace : {{ include "tenant.name" . }}
9+ annotations :
10+ helm.sh/resource-policy : keep
11+ labels :
12+ cozystack.io/ui : " true"
13+ app.kubernetes.io/instance : {{ .Release.Name }}
14+ app.kubernetes.io/managed-by : {{ .Release.Service }}
15+ spec :
16+ chart :
17+ spec :
18+ chart : info
19+ reconcileStrategy : Revision
20+ sourceRef :
21+ kind : HelmRepository
22+ name : cozystack-extra
23+ namespace : cozy-public
24+ version : " *"
25+ interval : 1m0s
26+ timeout : 5m0s
27+ {{- end }}
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ rules:
272272 - virtualmachines
273273 - vmdisks
274274 - vminstances
275+ - infos
275276 verbs :
276277 - get
277278 - list
Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ tenant 1.6.4 3c9e50a4
102102tenant 1.6.5 f1e11451
103103tenant 1.6.6 d4634797
104104tenant 1.6.7 06afcf27
105- tenant 1.6.8 HEAD
105+ tenant 1.6.8 4cc48e6f
106+ tenant 1.7.0 HEAD
106107virtual-machine 0.1.4 f2015d6
107108virtual-machine 0.1.5 7cd7de7
108109virtual-machine 0.2.0 5ca8823
Original file line number Diff line number Diff line change 1+ .helmignore
2+ /logos
Original file line number Diff line number Diff line change 1+ apiVersion : v2
2+ name : info
3+ description : Info
4+ icon : /logos/info.svg
5+ type : application
6+ version : 1.0.0
Original file line number Diff line number Diff line change 1+ NAME =etcd
2+
3+ include ../../../scripts/package.mk
Original file line number Diff line number Diff line change 1+ # Info
2+
3+ ### Kubeconfig for tenant
4+
5+ ### Kubelogin
6+
7+ For using kubeconfig need install kubelogin.
8+
9+ ``` bash
10+ # Homebrew (macOS and Linux)
11+ brew install int128/kubelogin/kubelogin
12+
13+ # Krew (macOS, Linux, Windows and ARM)
14+ kubectl krew install oidc-login
15+
16+ # Chocolatey (Windows)
17+ choco install kubelogin
18+ ```
Original file line number Diff line number Diff line change 11apiVersion : rbac.authorization.k8s.io/v1
22kind : Role
33metadata :
4- name : {{ include "tenant.name" . }}-dashboard-resources
5- namespace : {{ .Release.namespace }}
4+ name : info-dashboard-resources
65rules :
76- apiGroups :
87 - " "
98 resources :
109 - secrets
1110 resourceNames :
12- - kubeconfig-{{ include "tenant.name" . }}
11+ - kubeconfig-{{ .Release.Namespace }}
1312 verbs : ["get", "list", "watch"]
You can’t perform that action at this time.
0 commit comments