From 2abda43f33ad506371ada98ff39861220993f39c Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 18 May 2021 16:40:01 -0700 Subject: [PATCH 1/2] Add aks-operator package --- packages/rancher-aks-operator-crd/package.yaml | 2 ++ packages/rancher-aks-operator/package.yaml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 packages/rancher-aks-operator-crd/package.yaml create mode 100644 packages/rancher-aks-operator/package.yaml diff --git a/packages/rancher-aks-operator-crd/package.yaml b/packages/rancher-aks-operator-crd/package.yaml new file mode 100644 index 000000000..3a88de3fa --- /dev/null +++ b/packages/rancher-aks-operator-crd/package.yaml @@ -0,0 +1,2 @@ +url: https://github.com/rancher/aks-operator/releases/download/v1.0.1-rc6/rancher-aks-operator-crd-1.0.1-rc6.tgz +packageVersion: 00 diff --git a/packages/rancher-aks-operator/package.yaml b/packages/rancher-aks-operator/package.yaml new file mode 100644 index 000000000..1d6810b84 --- /dev/null +++ b/packages/rancher-aks-operator/package.yaml @@ -0,0 +1,2 @@ +url: https://github.com/rancher/aks-operator/releases/download/v1.0.1-rc6/rancher-aks-operator-1.0.1-rc6.tgz +packageVersion: 00 From 2d9c26a1a4a0f0d1f703734f7973e7cb57683c70 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Wed, 19 May 2021 15:55:50 -0700 Subject: [PATCH 2/2] Add aks-operator charts --- ...s-operator-crd-1.0.100-rc6+up1.0.1-rc6.tgz | Bin 0 -> 1089 bytes ...r-aks-operator-1.0.100-rc6+up1.0.1-rc6.tgz | Bin 0 -> 1329 bytes .../1.0.100-rc6+up1.0.1-rc6/Chart.yaml | 11 ++ .../templates/crds.yaml | 168 ++++++++++++++++++ .../1.0.100-rc6+up1.0.1-rc6/Chart.yaml | 18 ++ .../templates/NOTES.txt | 4 + .../templates/_helpers.tpl | 9 + .../templates/clusterrole.yaml | 15 ++ .../templates/clusterrolebinding.yaml | 13 ++ .../templates/deployment.yaml | 27 +++ .../templates/serviceaccount.yaml | 5 + .../1.0.100-rc6+up1.0.1-rc6/values.yaml | 11 ++ index.yaml | 39 ++++ 13 files changed, 320 insertions(+) create mode 100644 assets/rancher-aks-operator-crd/rancher-aks-operator-crd-1.0.100-rc6+up1.0.1-rc6.tgz create mode 100644 assets/rancher-aks-operator/rancher-aks-operator-1.0.100-rc6+up1.0.1-rc6.tgz create mode 100644 charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/Chart.yaml create mode 100644 charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/templates/crds.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/Chart.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/NOTES.txt create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/_helpers.tpl create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrole.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrolebinding.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/deployment.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/serviceaccount.yaml create mode 100644 charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/values.yaml diff --git a/assets/rancher-aks-operator-crd/rancher-aks-operator-crd-1.0.100-rc6+up1.0.1-rc6.tgz b/assets/rancher-aks-operator-crd/rancher-aks-operator-crd-1.0.100-rc6+up1.0.1-rc6.tgz new file mode 100644 index 0000000000000000000000000000000000000000..f36b9db4402ae11e4524581d9a85523f368b242c GIT binary patch literal 1089 zcmV-H1it$piwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI*zZz4Gp&Y53f&Gi+ed-C;)Tf#`AD7#q{cIL3R!mfa~-L_R_ zlaST^_f>a8KA_3RVrH}w&jq!s`YD&~dMG!6l~bfH6x?+l34)`pBy~8L0)^fjN^`I+ zvMkF^kB{r$EX!7Zvy;=)gZwx84kc31w;EMnEY3=++f*xswl6*fiukG3#X^bfL1JGt zgI%6;z_QiZabFm1<9(}@&>%2&E6T@tt)1Zxc>NuTwX=OO``iKVA0P8x*2}vjPdf@( zlJ=nnEaa?I$}zuyh{#;(DoJ zsv3*qWkw5s4iF;u#b1ASgqVTRs$Pc1=seo<;pO+Ek(^=)&7csTs=5n$$x-txQeC3W zrvk(IqFocU4{~c8a8mc|t3X>3oX6ls5{$N!EhDuRVS^Ix2Rlurg!`dW z8@4kAzqUJ0z^OGI`5^hmgV?4~skj}L(_)nA}MGNPhO4lEF(lZFS==c8xXPbI0oBOZzg(Jy4mz2La`Rrz} zEh{%IT)O3Co(|*KXnBQ+{^U81ZK@7Ez+_G9L8^>$|sSPT4-UuK(gL{>*Jt<9G|&M8aQ@877JPc|Qf- zRcOABcYf00960`ZdfB H03HAU4}B0W literal 0 HcmV?d00001 diff --git a/assets/rancher-aks-operator/rancher-aks-operator-1.0.100-rc6+up1.0.1-rc6.tgz b/assets/rancher-aks-operator/rancher-aks-operator-1.0.100-rc6+up1.0.1-rc6.tgz new file mode 100644 index 0000000000000000000000000000000000000000..f24250930b068e6aec74f9766fbb5b98e13e9942 GIT binary patch literal 1329 zcmV-11Dc zVQyr3R8em|NM&qo0PIv?o{R3xDhDx1u;EhH*pgc_VhL>cFf z#Qf+b;JU6m8I6ix*L8P)hu&m-G#t6(k>`zvlkt%|9DB#^5x6hny#=W@L>;-$_O-jX z{|HEu2ty1LiS{i3N(|v5bSN=~qr=32q(;~*(S~sDL(}VGQx&|8iJ?)W0gB478N;9+ z-PkQ+L4b)5J)=_WHFilzj9L%vh)$GS?fuvtgr=)n;UeCR|3O-#iLA5{-7gn&u5{9Hyy| z=tE2r5@L*rv4~_JR-QA@B2w13L&tT7wxSa&Kur~srf5Ee_sC*=rw$eIYSDwO2|uzHEmB2M`a|Jp4WUv0Gs08UFZKaw(SO%Fp6u%XXmZ@?{~-`^F(o{g{!&Zd;f$o*Tw%zxQFlJ{ zdX`1z`l5O_@}4XvA?6nV3Z>A@h`eVbm-9}Bgg#_z`dYaVTq^OUG+)TV`Zf{k>(}0$ zZy$~PHyBG!4C=x8#m!IGj`?Dq*!*!0H;h5PV1NhmP_m1W~^}&F9fn}PG83?a+#!fA{x>i$x(#LS@gKRxJu z-ALpb>zm$s2ABl*u3vkn|D9;zehpUg zIBt~{)Ra(%q$U!I{Z&+nocZ^au01~2b(pbatUJ=c}5&o8cG`}2Rwl7J=Q6J(%`|D(}P{_lBim;WCId$awXQ2bcF z4-GP~zYYkFS2)W@u4wbfEG&TgYSkz`I-UN3)D%U>a>zBRj8QzLRHTXdYQcK#f9an? z3;)ZkFvjFL$3ZRpA0FT1zk56ycl}FLdQ5H>Mv8X5hNG9dLa=BR4xzI-a)hX;a>$)o}m;R$&4GCen z+@8l}%K4?>jNbY1%j{g3ONAN>VJv}3w%)tdy58U1T;5(@UHtyBegsgQ6_hohY6^9A zchl{rjq5#)=m)KwU+iI`DkMXf`#pjd{jaz{N-jL{8_*X24R_Cfyy5Vq%l{67twZFM n^zTGVyYm0Q8GM8Iz4q!lbm-8b!$bHx00960_I$Lf04M+eWVx5Y literal 0 HcmV?d00001 diff --git a/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/Chart.yaml b/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/Chart.yaml new file mode 100644 index 000000000..d8376585c --- /dev/null +++ b/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/Chart.yaml @@ -0,0 +1,11 @@ +annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/os: linux + catalog.cattle.io/release-name: rancher-aks-operator-crd +apiVersion: v2 +appVersion: 1.0.1-rc6 +description: AKS Operator CustomResourceDefinitions +name: rancher-aks-operator-crd +version: 1.0.100-rc6+up1.0.1-rc6 diff --git a/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/templates/crds.yaml b/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/templates/crds.yaml new file mode 100644 index 000000000..6f4b5023d --- /dev/null +++ b/charts/rancher-aks-operator-crd/rancher-aks-operator-crd/1.0.100-rc6+up1.0.1-rc6/templates/crds.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + annotations: + helm.sh/resource-policy: keep + name: aksclusterconfigs.aks.cattle.io +spec: + group: aks.cattle.io + names: + kind: AKSClusterConfig + plural: aksclusterconfigs + shortNames: + - akscc + scope: Namespaced + subresources: + status: {} + validation: + openAPIV3Schema: + properties: + spec: + properties: + authBaseUrl: + nullable: true + type: string + authorizedIpRanges: + items: + nullable: true + type: string + nullable: true + type: array + azureCredentialSecret: + nullable: true + type: string + baseUrl: + nullable: true + type: string + clusterName: + nullable: true + type: string + dnsPrefix: + nullable: true + type: string + dnsServiceIp: + nullable: true + type: string + dockerBridgeCidr: + nullable: true + type: string + imported: + type: boolean + kubernetesVersion: + nullable: true + type: string + linuxAdminUsername: + nullable: true + type: string + loadBalancerSku: + nullable: true + type: string + networkPlugin: + nullable: true + type: string + networkPolicy: + nullable: true + type: string + nodePools: + items: + properties: + availabilityZones: + items: + nullable: true + type: string + nullable: true + type: array + count: + nullable: true + type: integer + enableAutoScaling: + nullable: true + type: boolean + maxCount: + nullable: true + type: integer + maxPods: + nullable: true + type: integer + minCount: + nullable: true + type: integer + mode: + nullable: true + type: string + name: + nullable: true + type: string + orchestratorVersion: + nullable: true + type: string + osDiskSizeGB: + nullable: true + type: integer + osDiskType: + nullable: true + type: string + osType: + nullable: true + type: string + vmSize: + nullable: true + type: string + type: object + nullable: true + type: array + podCidr: + nullable: true + type: string + privateCluster: + nullable: true + type: boolean + resourceGroup: + nullable: true + type: string + resourceLocation: + nullable: true + type: string + serviceCidr: + nullable: true + type: string + sshPublicKey: + nullable: true + type: string + subnet: + nullable: true + type: string + tags: + additionalProperties: + nullable: true + type: string + nullable: true + type: object + virtualNetwork: + nullable: true + type: string + virtualNetworkResourceGroup: + nullable: true + type: string + windowsAdminPassword: + nullable: true + type: string + windowsAdminUsername: + nullable: true + type: string + type: object + status: + properties: + failureMessage: + nullable: true + type: string + phase: + nullable: true + type: string + type: object + type: object + version: v1 + versions: + - name: v1 + served: true + storage: true diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/Chart.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/Chart.yaml new file mode 100644 index 000000000..41b770358 --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/Chart.yaml @@ -0,0 +1,18 @@ +annotations: + catalog.cattle.io/auto-install: rancher-aks-operator-crd=match + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/os: linux + catalog.cattle.io/provides-gvr: aksclusterconfigs.aks.cattle.io/v1 + catalog.cattle.io/rancher-version: '>= 2.6.0-alpha' + catalog.cattle.io/release-name: rancher-aks-operator + catalog.cattle.io/scope: management +apiVersion: v2 +appVersion: 1.0.1-rc6 +description: A Helm chart for provisioning AKS clusters +home: https://github.com/rancher/aks-operator +name: rancher-aks-operator +sources: +- https://github.com/rancher/aks-operator +version: 1.0.100-rc6+up1.0.1-rc6 diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/NOTES.txt b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/NOTES.txt new file mode 100644 index 000000000..5ba05b482 --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/NOTES.txt @@ -0,0 +1,4 @@ +You have deployed the Rancher AKS operator +Version: {{ .Chart.AppVersion }} +Description: This operator provisions AKS clusters +from AKSClusterConfig CRs. diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/_helpers.tpl b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/_helpers.tpl new file mode 100644 index 000000000..be11b4a66 --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/_helpers.tpl @@ -0,0 +1,9 @@ +{{/* vim: set filetype=mustache: */}} + +{{- define "system_default_registry" -}} +{{- if .Values.global.systemDefaultRegistry -}} +{{- printf "%s/" .Values.global.systemDefaultRegistry -}} +{{- else -}} +{{- "" -}} +{{- end -}} +{{- end -}} diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrole.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrole.yaml new file mode 100644 index 000000000..1bcc0ebec --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrole.yaml @@ -0,0 +1,15 @@ +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: aks-operator + namespace: cattle-system +rules: + - apiGroups: [''] + resources: ['secrets'] + verbs: ['get', 'list', 'create', 'watch'] + - apiGroups: ['aks.cattle.io'] + resources: ['aksclusterconfigs'] + verbs: ['get', 'list', 'update', 'watch'] + - apiGroups: ['aks.cattle.io'] + resources: ['aksclusterconfigs/status'] + verbs: ['update'] diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrolebinding.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrolebinding.yaml new file mode 100644 index 000000000..7aa7e785a --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/clusterrolebinding.yaml @@ -0,0 +1,13 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: aks-operator + namespace: cattle-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: aks-operator +subjects: +- kind: ServiceAccount + name: aks-operator + namespace: cattle-system diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/deployment.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/deployment.yaml new file mode 100644 index 000000000..839425544 --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/deployment.yaml @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: aks-config-operator + namespace: cattle-system +spec: + replicas: 1 + selector: + matchLabels: + ke.cattle.io/operator: aks + template: + metadata: + labels: + ke.cattle.io/operator: aks + spec: + serviceAccountName: aks-operator + containers: + - name: aks-operator + image: {{ template "system_default_registry" . }}{{ .Values.aksOperator.image.repository }}:{{ .Values.aksOperator.image.tag }} + imagePullPolicy: IfNotPresent + env: + - name: HTTP_PROXY + value: {{ .Values.httpProxy }} + - name: HTTPS_PROXY + value: {{ .Values.httpsProxy }} + - name: NO_PROXY + value: {{ .Values.noProxy }} diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/serviceaccount.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/serviceaccount.yaml new file mode 100644 index 000000000..9c40a152f --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/templates/serviceaccount.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + namespace: cattle-system + name: aks-operator diff --git a/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/values.yaml b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/values.yaml new file mode 100644 index 000000000..c3bc23406 --- /dev/null +++ b/charts/rancher-aks-operator/rancher-aks-operator/1.0.100-rc6+up1.0.1-rc6/values.yaml @@ -0,0 +1,11 @@ +global: + systemDefaultRegistry: "" + +aksOperator: + image: + repository: rancher/aks-operator + tag: v1.0.1-rc6 + +httpProxy: "" +httpsProxy: "" +noProxy: "" diff --git a/index.yaml b/index.yaml index 887a03a28..129c59bca 100755 --- a/index.yaml +++ b/index.yaml @@ -581,6 +581,45 @@ entries: urls: - assets/longhorn/longhorn-crd-1.0.200.tgz version: 1.0.200 + rancher-aks-operator: + - annotations: + catalog.cattle.io/auto-install: rancher-aks-operator-crd=match + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/os: linux + catalog.cattle.io/provides-gvr: aksclusterconfigs.aks.cattle.io/v1 + catalog.cattle.io/rancher-version: '>= 2.6.0-alpha' + catalog.cattle.io/release-name: rancher-aks-operator + catalog.cattle.io/scope: management + apiVersion: v2 + appVersion: 1.0.1-rc6 + created: "2021-05-28T10:37:57.110126648-07:00" + description: A Helm chart for provisioning AKS clusters + digest: b5bb356c751d5bfda735fe0e82f54116e8fb798df5898441e08d98fcd115ea8f + home: https://github.com/rancher/aks-operator + name: rancher-aks-operator + sources: + - https://github.com/rancher/aks-operator + urls: + - assets/rancher-aks-operator/rancher-aks-operator-1.0.100-rc6+up1.0.1-rc6.tgz + version: 1.0.100-rc6+up1.0.1-rc6 + rancher-aks-operator-crd: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/hidden: "true" + catalog.cattle.io/namespace: cattle-system + catalog.cattle.io/os: linux + catalog.cattle.io/release-name: rancher-aks-operator-crd + apiVersion: v2 + appVersion: 1.0.1-rc6 + created: "2021-05-28T10:37:30.886375906-07:00" + description: AKS Operator CustomResourceDefinitions + digest: ac8befc7c3b5d6150adebad4b90c887b67ff7237ca4dbf77fab28a72b2fe45b6 + name: rancher-aks-operator-crd + urls: + - assets/rancher-aks-operator-crd/rancher-aks-operator-crd-1.0.100-rc6+up1.0.1-rc6.tgz + version: 1.0.100-rc6+up1.0.1-rc6 rancher-alerting-drivers: - annotations: catalog.cattle.io/certified: rancher