From cb92ebf99eec9e4ea882d9c17c455609a1ea26f1 Mon Sep 17 00:00:00 2001 From: Anna Blendermann Date: Fri, 18 Feb 2022 12:45:40 -0500 Subject: [PATCH] Make charts --- ...r-eks-operator-crd-100.0.2+up1.1.3-rc2.tgz | Bin 0 -> 1183 bytes ...ncher-eks-operator-100.0.2+up1.1.3-rc2.tgz | Bin 0 -> 1997 bytes .../100.0.2+up1.1.3-rc2/Chart.yaml | 12 + .../100.0.2+up1.1.3-rc2/templates/crds.yaml | 217 ++++++++++++++++++ .../100.0.2+up1.1.3-rc2/Chart.yaml | 20 ++ .../100.0.2+up1.1.3-rc2/templates/NOTES.txt | 4 + .../templates/_helpers.tpl | 25 ++ .../templates/clusterrole.yaml | 15 ++ .../templates/clusterrolebinding.yaml | 13 ++ .../templates/deployment.yaml | 58 +++++ .../templates/serviceaccount.yaml | 5 + .../100.0.2+up1.1.3-rc2/values.yaml | 20 ++ index.yaml | 22 +- 13 files changed, 401 insertions(+), 10 deletions(-) create mode 100644 assets/rancher-eks-operator-crd/rancher-eks-operator-crd-100.0.2+up1.1.3-rc2.tgz create mode 100644 assets/rancher-eks-operator/rancher-eks-operator-100.0.2+up1.1.3-rc2.tgz create mode 100644 charts/rancher-eks-operator-crd/100.0.2+up1.1.3-rc2/Chart.yaml create mode 100644 charts/rancher-eks-operator-crd/100.0.2+up1.1.3-rc2/templates/crds.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/Chart.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/NOTES.txt create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/_helpers.tpl create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrole.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrolebinding.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/deployment.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/serviceaccount.yaml create mode 100644 charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/values.yaml diff --git a/assets/rancher-eks-operator-crd/rancher-eks-operator-crd-100.0.2+up1.1.3-rc2.tgz b/assets/rancher-eks-operator-crd/rancher-eks-operator-crd-100.0.2+up1.1.3-rc2.tgz new file mode 100644 index 0000000000000000000000000000000000000000..5bd6b7ddab37bc2a9f986cd757433a4029ed73b1 GIT binary patch literal 1183 zcmV;Q1Yr9giwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI;`Q{y%e=h>e^bFXcJljBGyZ#O_Y3@yF6P~JE4;;5D-RVxK@ zoqqR@{{%uJgSnU-FzibvlDxm&)$Y$L*@EITv^~tIrwv+g+V;3j_K#*@U4H?&+}l>- zIF1hw4$9v+j@N(V!-IHla4?KNjy`=F9uD^6!Kcw^w8!GDkz0r-2X-&s8f)FTS0bR4 zcHo3oG>#bK;6UoM&%rr~eWCX`S|_dqCSz9TN^sdsBnhf9`{1m{55Xl0awG#B$E+Ic z(SjW2!Nr=!ObX?1g0lu~E*$l4SN(h~RHCmbxZ0vbAnX+e+TZ~ zV9f2`L4VNy*t2{XB}m)~6)uIh}t+(%y1B#w(#j8Q16$-1#j^9QWh? z@F#EX@Sc1B8|&X;ZX`IQeQp!liU=OA|G~lNaJ~LVhwt^j8(B?yFamEJs^TB@vtOtv zp7|ikgi6MZ`5ooxAOQyjf2`37V>6U_pJw~Eey(S<6nrse8KQ|8t7-!?;?k2t%eA@^ zDfKa;a+YS=y7N0ly>cC| z=7dVU1iSfc#F(*2Xy^Es%9OrVzY3HIjoB4Q!iX{A+TfU-FUc>77^^G3MC#Qcm=7u_ zKEoU;6ByG5)#op#mmeqhh6~W5Se;l}Tgfs^cM@J#2;}fht0RjEDknfrkXv-?s~A&W zN|;Iw&$r_>V_& z6QkW}%`lDm+!0+aTi**v-zdw_N;Df7NGjX2}pZ1#CVdt9GC zw?uis+DBdhU4RtaRJ6PyjNW~cY;5ft;`H6Ey|H2r4nK2_6v&BIdc)*s{8S45%!(%^ z^S**3l*P2;BP5jvdOA_uE~@*=E`v>tvQ`>v4D-hCK`~!&~?R4*RP>^Es`@JL9>G88eT&~<6-j|oXos21T z*V<;)6=_AyT}I2yfV!>j*G6)$hK<%z`9dF~#LxxBOS60~tn(nxt4!`L*@9KGF<5?R xNLF-{)3%_sl@UK(9yo8~Rx>91_rGWVp7<{B@-DAO{to~E|NlGd&K&?G000d5LG1tl literal 0 HcmV?d00001 diff --git a/assets/rancher-eks-operator/rancher-eks-operator-100.0.2+up1.1.3-rc2.tgz b/assets/rancher-eks-operator/rancher-eks-operator-100.0.2+up1.1.3-rc2.tgz new file mode 100644 index 0000000000000000000000000000000000000000..eece8dab351c2b1eaecce632a74c132ddcd56227 GIT binary patch literal 1997 zcmV;;2Qv5{iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH$#Z`;Vx`OIH2knzAzuOUUfSPlrJK2u_yi!f)oa ztK5GHuryVM8KF{&JOIuNlWH1pW{ku@s4mNm@t#Mju8}#J}t@M zycJnd1X85=*Vd;Q>bWrFS6HuaL>j9bYRA@UAz~zdy3i5ejJV9npyn!_h$#g)qZ;<2 z*Ggn#>W0GoU=)NtlUc&rb=D}65&Bm5_Se;=7G;A`IZVkE9bX58{S_#WjPxD6gKQ5u{X>=uzu;lmHtP?~|fL|N$)V={`m-Kj81 zJ`T8=Z@{{T4m2(7zSa`|9zfq6?$oRe0FG!{|hE_q$f)Nd*XjM z>J4_||L`PmQ$a>ABj|KI4`*~yo)e2J=4@JS z(wHd{Mp?{O&$CE|O(R%r9nQ0Ed#Tmeg1mF$?ax$gzq2?NHqbEnQQI&QpS`09CQK4~ zM@Mk3Vg$*?D5(fODh5U*rl|{OM@MjllWokgxkRUEkZkyi6{l`asQqa!V(g|WMxRh3 zw;a3P(UE7DuHA~#5vGG)zs6s4p^@N+iXFJLHTs=b zV!6xd^9TqH zOoT+U%<%2pnuRAA!FS#D+VfT`A7Y${6rocT2Vdf%I{2c?@}L9$dhHO!1cIN760#^S zHjPGWSy64vv`EbaI{!!A&Z7vRB&>dPw(?*a-}>%Z#l624P246P!Htj-SR6yCT#?jW zJ>j}Om+9%XtwmsrQr(oxwOnosfE%S}Qn8qTt6W-CAf8~HOB-Jmm_!lQDSFPzbtAin zzNdmX|m|fW(m3!?1PA14r1f6qrUGlff8$XYr^WoQ=$brr&ZMxX1s8Vc6Tv|AS%w;Q!A7b^m8sMq5{ZU%mP}GJTP;9^^liA-9_~ zW>RoQ5%fHOO-E6TkKGO8k8XflEC9@~enD4tEjS|&U~@>z-8B&{$OfT3qyRPoTG*NN zu0W(*=J8$KPyoL{D$*EJ18-oxE~)G^!gZo`Brxg|o6B~*-=LkYZLq3^#vJ($X&WtM zUEtAO^42@rd&I4yRnm^`k(L^P_`EF&7ic`!!Yt2JYVfPszQ+lbX`&Z~r`4*?(|7b2 zLfu&BDz*JP>gpW$?Qy?=;wr-_Sstx>W*q^n*Q-@!huW=3;OGR~+Ynfm9f~H)^}=sk1q1yh51U!$fX$z1<0Rk4VAXD99w^SPKUWCG$D{ zqw+~|iOL5)F;tY1iY$xISK z7Y(njrio;iGk+^}khwo7Y@x8Hk>oe<{6d8WD&^yX#r+gDviKsE%Lt6laj*7TDdQI= zsB0Q4r1aQ0jh(`;cPNc>;|#`88%xLH*!RI1AruXbRjK@c2)FfyMdM6LjNOY%5GJ|F zHG|Ci~S73unsJ;1*Hzc<+J|9k!LF#mfNX#CA= 1.18.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: eksclusterconfigs.eks.cattle.io/v1 + catalog.cattle.io/rancher-version: '>= 2.6.0-alpha' + catalog.cattle.io/release-name: rancher-eks-operator + catalog.cattle.io/scope: management +apiVersion: v2 +appVersion: 1.1.3-rc2 +description: A Helm chart for provisioning EKS clusters +home: https://github.com/rancher/eks-operator +name: rancher-eks-operator +sources: +- https://github.com/rancher/eks-operator +version: 100.0.2+up1.1.3-rc2 diff --git a/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/NOTES.txt b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/NOTES.txt new file mode 100644 index 000000000..23a1b4a8b --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/NOTES.txt @@ -0,0 +1,4 @@ +You have deployed the Rancher EKS operator +Version: {{ .Chart.AppVersion }} +Description: This operator provisions EKS clusters +from EKSClusterConfig CRs. diff --git a/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/_helpers.tpl b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/_helpers.tpl new file mode 100644 index 000000000..de3b332f6 --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/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-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrole.yaml b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrole.yaml new file mode 100644 index 000000000..d0d561b6e --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrole.yaml @@ -0,0 +1,15 @@ +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: eks-operator + namespace: cattle-system +rules: + - apiGroups: [''] + resources: ['secrets'] + verbs: ['get', 'list', 'create', 'watch'] + - apiGroups: ['eks.cattle.io'] + resources: ['eksclusterconfigs'] + verbs: ['get', 'list', 'update', 'watch'] + - apiGroups: ['eks.cattle.io'] + resources: ['eksclusterconfigs/status'] + verbs: ['update'] diff --git a/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrolebinding.yaml b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrolebinding.yaml new file mode 100644 index 000000000..2b1846353 --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/clusterrolebinding.yaml @@ -0,0 +1,13 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: eks-operator + namespace: cattle-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: eks-operator +subjects: +- kind: ServiceAccount + name: eks-operator + namespace: cattle-system diff --git a/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/deployment.yaml b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/deployment.yaml new file mode 100644 index 000000000..1738f7408 --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/deployment.yaml @@ -0,0 +1,58 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: eks-config-operator + namespace: cattle-system +spec: + replicas: 1 + selector: + matchLabels: + ke.cattle.io/operator: eks + template: + metadata: + labels: + ke.cattle.io/operator: eks + spec: + nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} + {{- if .Values.nodeSelector }} + {{ toYaml .Values.nodeSelector | indent 8 }} + {{- end }} + tolerations: {{ include "linux-node-tolerations" . | nindent 6}} + {{- if .Values.tolerations }} + {{ toYaml .Values.tolerations | indent 6 }} + {{- end }} + serviceAccountName: eks-operator + securityContext: + fsGroup: 1007 + runAsUser: 1007 + containers: + - name: eks-operator + image: {{ template "system_default_registry" . }}{{ .Values.eksOperator.image.repository }}:{{ .Values.eksOperator.image.tag }} + imagePullPolicy: IfNotPresent + env: + - name: HTTP_PROXY + value: {{ .Values.httpProxy }} + - name: HTTPS_PROXY + value: {{ .Values.httpsProxy }} + - name: NO_PROXY + value: {{ .Values.noProxy }} +{{- if .Values.additionalTrustedCAs }} + # eks-operator mounts the additional CAs in two places: + volumeMounts: + # This directory is owned by the eks-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-eks-operator/100.0.2+up1.1.3-rc2/templates/serviceaccount.yaml b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/serviceaccount.yaml new file mode 100644 index 000000000..934de07e0 --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/templates/serviceaccount.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + namespace: cattle-system + name: eks-operator diff --git a/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/values.yaml b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/values.yaml new file mode 100644 index 000000000..6c661eed3 --- /dev/null +++ b/charts/rancher-eks-operator/100.0.2+up1.1.3-rc2/values.yaml @@ -0,0 +1,20 @@ +global: + cattle: + systemDefaultRegistry: "" + +eksOperator: + image: + repository: rancher/eks-operator + tag: v1.1.3-rc2 + +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: [] + diff --git a/index.yaml b/index.yaml index add006588..df4c07ac9 100755 --- a/index.yaml +++ b/index.yaml @@ -2416,22 +2416,23 @@ entries: catalog.cattle.io/kube-version: '>= 1.18.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: eksclusterconfigs.eks.cattle.io/v1 catalog.cattle.io/rancher-version: '>= 2.6.0-alpha' catalog.cattle.io/release-name: rancher-eks-operator catalog.cattle.io/scope: management apiVersion: v2 - appVersion: 1.1.3-rc1 - created: "2022-02-14T13:10:07.749959-05:00" + appVersion: 1.1.3-rc2 + created: "2022-02-18T12:43:07.612137-05:00" description: A Helm chart for provisioning EKS clusters - digest: 724abbb20a0a35473881520924e90871663e63792da7d920251b905b588d1914 + digest: 22a1df45fe56dc208f23402fe416dfd8449c4816189b185a595d4042b7cc1c38 home: https://github.com/rancher/eks-operator name: rancher-eks-operator sources: - https://github.com/rancher/eks-operator urls: - - assets/rancher-eks-operator/rancher-eks-operator-100.0.2+up1.1.3-rc1.tgz - version: 100.0.2+up1.1.3-rc1 + - assets/rancher-eks-operator/rancher-eks-operator-100.0.2+up1.1.3-rc2.tgz + version: 100.0.2+up1.1.3-rc2 - annotations: catalog.cattle.io/auto-install: rancher-eks-operator-crd=match catalog.cattle.io/certified: rancher @@ -2483,16 +2484,17 @@ entries: catalog.cattle.io/hidden: "true" catalog.cattle.io/namespace: cattle-system catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux,windows catalog.cattle.io/release-name: rancher-eks-operator-crd apiVersion: v2 - appVersion: 1.1.3-rc1 - created: "2022-02-14T13:10:12.787001-05:00" + appVersion: 1.1.3-rc2 + created: "2022-02-18T12:43:13.333999-05:00" description: EKS Operator CustomResourceDefinitions - digest: ae9e1323a9317006068b444620675ce5c21df8e9ea411bff6be1bf2aa0dd4df4 + digest: 72b395f01e9c045c19d2184190f71d69bda0ffc46de962633dbf89263b5dc4b8 name: rancher-eks-operator-crd urls: - - assets/rancher-eks-operator-crd/rancher-eks-operator-crd-100.0.2+up1.1.3-rc1.tgz - version: 100.0.2+up1.1.3-rc1 + - assets/rancher-eks-operator-crd/rancher-eks-operator-crd-100.0.2+up1.1.3-rc2.tgz + version: 100.0.2+up1.1.3-rc2 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/hidden: "true"