Skip to content

Commit

Permalink
Update ack charts
Browse files Browse the repository at this point in the history
  • Loading branch information
smallteeths committed Dec 2, 2024
1 parent c698fbc commit b108dc8
Show file tree
Hide file tree
Showing 24 changed files with 556 additions and 2 deletions.
Binary file not shown.
19 changes: 19 additions & 0 deletions charts/rancher-ack-operator/105.0.0+up2.10.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/auto-install: rancher-ack-operator-crd=match
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.32.0-0'
catalog.cattle.io/namespace: cattle-system
catalog.cattle.io/os: linux
catalog.cattle.io/provides-gvr: ackclusterconfigs.ack.cattle.io/v1
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.11.0-0'
catalog.cattle.io/release-name: rancher-ack-operator
catalog.cattle.io/scope: management
apiVersion: v2
appVersion: 2.10.0
description: A Helm chart for provisioning ACK clusters
home: https://github.com/cnrancher/ack-operator
name: rancher-ack-operator
sources:
- https://github.com/cnrancher/ack-operator
version: 105.0.0+up2.10.0
2 changes: 2 additions & 0 deletions charts/rancher-ack-operator/105.0.0+up2.10.0/questions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
labels:
catalog.cattle.io/hidden: "true"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
You have deployed the Rancher ack operator
Version: {{ .Chart.AppVersion }}
Description: This operator provisions ack clusters
from ackClusterConfig CRs.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{/* vim: set filetype=mustache: */}}

{{- define "system_default_registry" -}}
{{- if .Values.global.systemDefaultRegistry -}}
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
{{- else -}}
{{- "" -}}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: ack-operator
namespace: cattle-system
rules:
- apiGroups: ['']
resources: ['secrets']
verbs: ['get', 'list', 'create', 'watch']
- apiGroups: ['']
resources: ['configmaps']
verbs: ['get', 'list', 'create','update', 'watch']
- apiGroups: ['ack.pandaria.io']
resources: ['ackclusterconfigs']
verbs: ['get', 'list', 'update', 'watch']
- apiGroups: ['ack.pandaria.io']
resources: ['ackclusterconfigs/status']
verbs: ['update']
- apiGroups: ['coordination.k8s.io']
resources: ['leases']
verbs: ['get', 'list', 'update', 'create', 'watch']
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ack-operator
namespace: cattle-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ack-operator
subjects:
- kind: ServiceAccount
name: ack-operator
namespace: cattle-system
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ack-config-operator
namespace: cattle-system
spec:
replicas: 1
selector:
matchLabels:
ke.cattle.io/operator: ack
template:
metadata:
labels:
ke.cattle.io/operator: ack
spec:
serviceAccountName: ack-operator
containers:
- name: ack-operator
image: {{ template "system_default_registry" . }}{{ .Values.ackOperator.image.repository }}:{{ .Values.ackOperator.image.tag }}
imagePullPolicy: IfNotPresent
args:
{{- if .Values.leaderElect }}
- -leader_elect=true
{{- if .Values.lockName }}
- -lock_name={{ .Values.lockName }}
{{- end }}
{{- if .Values.lockNamespace }}
- -lock_namespace={{ .Values.lockNamespace }}
{{- else }}
- -lock_namespace=cattle-system
{{- end }}
{{- end }}
{{- if .Values.qps }}
- -qps={{ .Values.qps }}
{{- end }}
{{- if .Values.burst }}
- -burst={{ .Values.burst }}
{{- end }}
env:
- name: HTTP_PROXY
value: {{ .Values.httpProxy }}
- name: HTTPS_PROXY
value: {{ .Values.httpsProxy }}
- name: NO_PROXY
value: {{ .Values.noProxy }}
{{- if .Values.additionalTrustedCAs }}
volumeMounts:
- mountPath: /etc/ssl/certs/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 }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: cattle-system
name: ack-operator
17 changes: 17 additions & 0 deletions charts/rancher-ack-operator/105.0.0+up2.10.0/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
global:
systemDefaultRegistry: ""

ackOperator:
image:
repository: cnrancher/ack-operator
tag: v2.10.0-ent

httpProxy: ""
httpsProxy: ""
noProxy: ""
additionalTrustedCAs: false
leaderElect: true
lockName: ""
lockNamespace: ""
qps: ""
burst: ""
23 changes: 23 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,29 @@ entries:
- assets/pandaria-alerting-drivers/pandaria-alerting-drivers-0.0.2.tgz
version: 0.0.2
rancher-ack-operator:
- annotations:
catalog.cattle.io/auto-install: rancher-ack-operator-crd=match
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.32.0-0'
catalog.cattle.io/namespace: cattle-system
catalog.cattle.io/os: linux
catalog.cattle.io/provides-gvr: ackclusterconfigs.ack.cattle.io/v1
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.11.0-0'
catalog.cattle.io/release-name: rancher-ack-operator
catalog.cattle.io/scope: management
apiVersion: v2
appVersion: 2.10.0
created: "2024-12-02T17:09:20.108585+08:00"
description: A Helm chart for provisioning ACK clusters
digest: 21a3a56ac87f2670a09afd160d04598e373b22b63e5b4c6dd9e864ab23d80e39
home: https://github.com/cnrancher/ack-operator
name: rancher-ack-operator
sources:
- https://github.com/cnrancher/ack-operator
urls:
- assets/rancher-ack-operator/rancher-ack-operator-105.0.0+up2.10.0.tgz
version: 105.0.0+up2.10.0
- annotations:
catalog.cattle.io/auto-install: rancher-ack-operator-crd=match
catalog.cattle.io/certified: rancher
Expand Down
13 changes: 13 additions & 0 deletions packages/rancher-ack-operator-crd/105.0.0+up2.10.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.32.0-0'
catalog.cattle.io/namespace: cattle-system
catalog.cattle.io/os: linux
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.11.0-0'
catalog.cattle.io/release-name: rancher-ack-operator-crd
apiVersion: v2
appVersion: 2.10.0
description: ACK Operator CustomResourceDefinitions
name: rancher-ack-operator-crd
version: 105.0.0+up2.10.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
labels:
catalog.cattle.io/hidden: "true"
Loading

0 comments on commit b108dc8

Please sign in to comment.