From d5d9a735e28535b700a298ead19ebd39bc654a11 Mon Sep 17 00:00:00 2001 From: Michal Jura Date: Fri, 4 Oct 2024 10:20:25 +0200 Subject: [PATCH] make charts --- ...gke-operator-crd-105.0.0+up1.10.0-rc.1.tgz | Bin 0 -> 1487 bytes ...her-gke-operator-105.0.0+up1.10.0-rc.1.tgz | Bin 0 -> 2149 bytes .../105.0.0+up1.10.0-rc.1/Chart.yaml | 12 + .../105.0.0+up1.10.0-rc.1/templates/crds.yaml | 272 ++++++++++++++++++ .../105.0.0+up1.10.0-rc.1/Chart.yaml | 20 ++ .../105.0.0+up1.10.0-rc.1/templates/NOTES.txt | 4 + .../templates/_helpers.tpl | 25 ++ .../templates/clusterrole.yaml | 15 + .../templates/clusterrolebinding.yaml | 13 + .../templates/deployment.yaml | 69 +++++ .../templates/serviceaccount.yaml | 5 + .../105.0.0+up1.10.0-rc.1/values.yaml | 23 ++ index.yaml | 20 +- 13 files changed, 468 insertions(+), 10 deletions(-) create mode 100644 assets/rancher-gke-operator-crd/rancher-gke-operator-crd-105.0.0+up1.10.0-rc.1.tgz create mode 100644 assets/rancher-gke-operator/rancher-gke-operator-105.0.0+up1.10.0-rc.1.tgz create mode 100644 charts/rancher-gke-operator-crd/105.0.0+up1.10.0-rc.1/Chart.yaml create mode 100644 charts/rancher-gke-operator-crd/105.0.0+up1.10.0-rc.1/templates/crds.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/Chart.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/NOTES.txt create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/_helpers.tpl create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrole.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrolebinding.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/deployment.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/serviceaccount.yaml create mode 100644 charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/values.yaml diff --git a/assets/rancher-gke-operator-crd/rancher-gke-operator-crd-105.0.0+up1.10.0-rc.1.tgz b/assets/rancher-gke-operator-crd/rancher-gke-operator-crd-105.0.0+up1.10.0-rc.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..f70a926035fd4ad1f230e5284c84debce4e26ba0 GIT binary patch literal 1487 zcmV;=1u*&_iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI>{a~e4k=b2BT%Ih6?AU<=&8zH`w%NH*dHreM!Y6dMDNhN8p z$<}`NEsX#>c>VzcsoiqFP>jT{TiyL@wKN!zbb+Q5FR`OE8gR;Vs9{&*1sK;|Ln2zI zN)$!W&GmKm8AZ|lXExTmz8MS#{r>y@pcVCQqUe2#L?>&mA*pp>TG7e6_80dz5s*?j za9l|{Y!gDkflzUmf^!19TwPH#j?X!=A=%_g?z9DG4CRo#b0)=ixl<%0Xf;qAlJKx& z*VbW@J6YKw5nQHExuY6Q!kz8xX8rq-OQs%e?rehs!D7c7uv^8ejBkVH-_TgD ztwTeVob%Xr<0U>bxNS93j~5%2>TLRp!2q(+7i|4>e>)C%;|wnw(jqk=a+GDGcA<=W zcn0cZ^Jp03GEN1U*S~EOq77O!EBq>#Qa#H5aTLrB$sB~mHX)WOjYIOVEq<&`$cFEk zrq0F%t6oq=7nndWfe@upjwW~C-cNsc?3H@5I=;0w$kt8Il0VN2q)urrlnWl(A0|Ym zLcmPmkoc1RYPcBL3rhb}mN!I*TYHbploAN?)r>HzX1^nKdxIO-j~LtKS7R10l;Pi% zbRZ^*jZ&v91;J&GW2%=x$ig}Oe+BFV2$1w>7>VvtndKzoOi`e!fvR14r&rfw&dkA1 z4bavZF5`S?pZSf#W_1Y7XOIvhyOq?ev)%X}*A3^y64&|G*FdgVg%|($eE20nf7!w` z7@0u&`*emzqC-0pdI3i&$WP^1saW9HAVcXmh$&KouE{mn|Wb{J4}9-tzZnSUzr-mT*lLo`Ar5d0WKX%kQ9H*?hBd)&wA6;Wt}9lhd`pH`&7EE zI0dvRjAk|To`T{jwF*FxiZT#{ajONC^jgg;Eul(nWyL8>&UOS!l;lpC^YEi^|2-Kp zG)1>XE;*qk^xOVKsl1w8NQEjIK-KZDW-ivDTWOjEsp@=!B=Gd07>-pcb2{REG+zkg z>@K$ejmyT+D!E2WPPPrYdZv{7$nEkzvAJi(167g(%G+|vzvHLb>2dK`zxtUMvz{jq z<7HJAHCfM6x7|9z!kRW7yylYpCz}RMOf74Qzd#pUUN~+FQn#2=rOSg++M*n2*SVrq zw5tcv1~Ji&d%Tki_vVNaX%|^>X{0|S4^Zov*Ypk=g1i|?nX=wn19N;xl-*Y5f zSpH1)D-dZZA`pwv6BX4-dEX;{K@B|Tox#4z zRTa=d_ZH+VB-P z{NYXQS>8iVf}&f=v?`2vRd)RV^|pj2pgewI#0v zjz|5jWP`UR1zxreTx#pSjGqG+slm@^EyRsp>F5R6bFcQ*!|eYM>;<-U%J_x7c#_Vx pe+k)nW8*XO$De2Y%hQ{@$(y{%o3vW3zXAXN|Np8AVv+zZ001~p+a~}3 literal 0 HcmV?d00001 diff --git a/assets/rancher-gke-operator/rancher-gke-operator-105.0.0+up1.10.0-rc.1.tgz b/assets/rancher-gke-operator/rancher-gke-operator-105.0.0+up1.10.0-rc.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..012952db9ead3cf2cb4acd2809c4db13cf06a378 GIT binary patch literal 2149 zcmV-r2%7gFiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH$#bK|zr_nE(9N6s^TnjR_Y#dgZ+b;k8wlTI$S$G)b$$=uvP z;EF^A5exvz=j!y|I{+w(q$$gFE_T|{evt$&_KnzANRo`EDE(xHzQ|D$EoA>JB~k~s zWX@lF2?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ab`W!@Qt;YqbBi|kbW zO`&Y8Q;})HGL+T9^5NcVRR`{l1P+aD%R_t56y+;et(Hsps+xdoE?fdjDcD@Jz-krU zkE=-ntJPssmdk?kOTihvjo`1-bD=LKDztgg0g;I*JA1ypnt8QcLKg@75I$GK5_|Om zt5xqqMF_LS#?)(LefRF&<;Tmbi+{YY9#zAO8msCeX!91EG_D^=L~W&Ve(?Yj<(*S~ z|JKt4KsXmSmy#_Q#{}OfN;q*7ad$Jd!IVhii;Ul138DYOIJy%NftE!bEnm}$?~N= 1.23.0-0 < 1.31.0-0' + catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux,windows + catalog.cattle.io/provides-gvr: gkeclusterconfigs.gke.cattle.io/v1 + catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0' + catalog.cattle.io/release-name: rancher-gke-operator + catalog.cattle.io/scope: management +apiVersion: v2 +appVersion: 1.10.0-rc.1 +description: A Helm chart for provisioning GKE clusters +home: https://github.com/rancher/gke-operator +name: rancher-gke-operator +sources: +- https://github.com/rancher/gke-operator +version: 105.0.0+up1.10.0-rc.1 diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/NOTES.txt b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/NOTES.txt new file mode 100644 index 0000000000..238173d1bd --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/NOTES.txt @@ -0,0 +1,4 @@ +You have deployed the Rancher GKE operator +Version: {{ .Chart.AppVersion }} +Description: This operator provisions GKE clusters +from GKEClusterConfig CRs. diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/_helpers.tpl b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/_helpers.tpl new file mode 100644 index 0000000000..de3b332f6a --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/_helpers.tpl @@ -0,0 +1,25 @@ +{{/* vim: set filetype=mustache: */}} + +{{- define "system_default_registry" -}} +{{- if .Values.global.cattle.systemDefaultRegistry -}} +{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} +{{- else -}} +{{- "" -}} +{{- end -}} +{{- end -}} + +{{/* +Windows cluster will add default taint for linux nodes, +add below linux tolerations to workloads could be scheduled to those linux nodes +*/}} +{{- define "linux-node-tolerations" -}} +- key: "cattle.io/os" + value: "linux" + effect: "NoSchedule" + operator: "Equal" +{{- end -}} + +{{- define "linux-node-selector" -}} +kubernetes.io/os: linux +{{- end -}} + diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrole.yaml b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrole.yaml new file mode 100644 index 0000000000..7c352696ee --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrole.yaml @@ -0,0 +1,15 @@ +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: gke-operator + namespace: cattle-system +rules: + - apiGroups: [''] + resources: ['secrets'] + verbs: ['get', 'list', 'create', 'watch'] + - apiGroups: ['gke.cattle.io'] + resources: ['gkeclusterconfigs'] + verbs: ['get', 'list', 'update', 'watch'] + - apiGroups: ['gke.cattle.io'] + resources: ['gkeclusterconfigs/status'] + verbs: ['update'] diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrolebinding.yaml b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrolebinding.yaml new file mode 100644 index 0000000000..e2af390c71 --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/clusterrolebinding.yaml @@ -0,0 +1,13 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: gke-operator + namespace: cattle-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: gke-operator +subjects: +- kind: ServiceAccount + name: gke-operator + namespace: cattle-system diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/deployment.yaml b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/deployment.yaml new file mode 100644 index 0000000000..731fa1d4c2 --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/deployment.yaml @@ -0,0 +1,69 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: gke-config-operator + namespace: cattle-system +spec: + replicas: 1 + selector: + matchLabels: + ke.cattle.io/operator: gke + template: + metadata: + labels: + ke.cattle.io/operator: gke + spec: + nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} +{{- if .Values.nodeSelector }} +{{ toYaml .Values.nodeSelector | indent 8 }} +{{- end }} + tolerations: {{ include "linux-node-tolerations" . | nindent 8 }} +{{- if .Values.tolerations }} +{{ toYaml .Values.tolerations | indent 8 }} +{{- end }} + serviceAccountName: gke-operator + {{- if .Values.priorityClassName }} + priorityClassName: "{{.Values.priorityClassName}}" + {{- end }} + securityContext: + fsGroup: 1007 + runAsUser: 1007 + containers: + - name: rancher-gke-operator + image: '{{ template "system_default_registry" $ }}{{ $.Values.gkeOperator.image.repository }}:{{ $.Values.gkeOperator.image.tag }}' + imagePullPolicy: IfNotPresent + args: ["-debug={{ .Values.gkeOperator.debug | default false }}"] + env: + - name: HTTP_PROXY + value: {{ .Values.httpProxy }} + - name: HTTPS_PROXY + value: {{ .Values.httpsProxy }} + - name: NO_PROXY + value: {{ .Values.noProxy }} + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + privileged: false + capabilities: + drop: + - ALL +{{- if .Values.additionalTrustedCAs }} + # gke-operator mounts the additional CAs in two places: + volumeMounts: + # This directory is owned by the gke-operator user so c_rehash works here. + - mountPath: /etc/rancher/ssl/ca-additional.pem + name: tls-ca-additional-volume + subPath: ca-additional.pem + readOnly: true + # This directory is root-owned so c_rehash doesn't work here, + # but the cert is here in case update-ca-certificates is called in the future or by the OS. + - mountPath: /etc/pki/trust/anchors/ca-additional.pem + name: tls-ca-additional-volume + subPath: ca-additional.pem + readOnly: true + volumes: + - name: tls-ca-additional-volume + secret: + defaultMode: 0400 + secretName: tls-ca-additional + {{- end }} diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/serviceaccount.yaml b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/serviceaccount.yaml new file mode 100644 index 0000000000..ba52af6280 --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/templates/serviceaccount.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + namespace: cattle-system + name: gke-operator diff --git a/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/values.yaml b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/values.yaml new file mode 100644 index 0000000000..cb4593de22 --- /dev/null +++ b/charts/rancher-gke-operator/105.0.0+up1.10.0-rc.1/values.yaml @@ -0,0 +1,23 @@ +global: + cattle: + systemDefaultRegistry: "" + +gkeOperator: + image: + repository: rancher/gke-operator + tag: v1.10.0-rc.1 + debug: false + +httpProxy: "" +httpsProxy: "" +noProxy: "" +additionalTrustedCAs: false +## Node labels for pod assignment +## Ref: https://kubernetes.io/docs/user-guide/node-selection/ +## +nodeSelector: {} +## List of node taints to tolerate (requires Kubernetes >= 1.6) +tolerations: [] + +## PriorityClassName assigned to deployment. +priorityClassName: "" diff --git a/index.yaml b/index.yaml index cefc0cf928..91e0cbff0a 100755 --- a/index.yaml +++ b/index.yaml @@ -9402,17 +9402,17 @@ entries: catalog.cattle.io/release-name: rancher-gke-operator catalog.cattle.io/scope: management apiVersion: v2 - appVersion: 1.9.1-rc.4 - created: "2024-08-07T10:07:37.976011553+02:00" + appVersion: 1.10.0-rc.1 + created: "2024-10-04T10:18:29.116121346+02:00" description: A Helm chart for provisioning GKE clusters - digest: 87c0406d660d298b5c13b3643909d1abf7ec9177e2fa1928fc3ebfe0c6fec313 + digest: 4e20d1e586c3b3628e125fe00eafc43a80ac562ffc02e72028e78d6b4dbfd770 home: https://github.com/rancher/gke-operator name: rancher-gke-operator sources: - https://github.com/rancher/gke-operator urls: - - assets/rancher-gke-operator/rancher-gke-operator-104.1.0+up1.9.1-rc.4.tgz - version: 104.1.0+up1.9.1-rc.4 + - assets/rancher-gke-operator/rancher-gke-operator-105.0.0+up1.10.0-rc.1.tgz + version: 105.0.0+up1.10.0-rc.1 - annotations: catalog.cattle.io/auto-install: rancher-gke-operator-crd=match catalog.cattle.io/certified: rancher @@ -9662,14 +9662,14 @@ entries: catalog.cattle.io/permits-os: linux,windows catalog.cattle.io/release-name: rancher-gke-operator-crd apiVersion: v2 - appVersion: 1.9.1-rc.4 - created: "2024-08-07T10:07:40.839672627+02:00" + appVersion: 1.10.0-rc.1 + created: "2024-10-04T10:18:31.236800595+02:00" description: GKE Operator CustomResourceDefinitions - digest: 4d1dc4e0ff94403d9c91efc58b086350735949a7c3bb69d62f867aaa69ed5e58 + digest: 5870f1358b77eaa15bf46f044edd832f76f05de2ef510670d48d2325f337bd89 name: rancher-gke-operator-crd urls: - - assets/rancher-gke-operator-crd/rancher-gke-operator-crd-104.1.0+up1.9.1-rc.4.tgz - version: 104.1.0+up1.9.1-rc.4 + - assets/rancher-gke-operator-crd/rancher-gke-operator-crd-105.0.0+up1.10.0-rc.1.tgz + version: 105.0.0+up1.10.0-rc.1 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/hidden: "true"