-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-v2.10] batch release (#5015)
Co-authored-by: rancherbot <[email protected]>
- Loading branch information
1 parent
2ca363e
commit e97b734
Showing
147 changed files
with
12,795 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.22 KB
assets/rancher-aks-operator-crd/rancher-aks-operator-crd-105.2.0+up1.10.2.tgz
Binary file not shown.
Binary file added
BIN
+2.07 KB
assets/rancher-aks-operator/rancher-aks-operator-105.2.0+up1.10.2.tgz
Binary file not shown.
Binary file added
BIN
+1.45 KB
assets/rancher-cis-benchmark-crd/rancher-cis-benchmark-crd-105.2.0+up7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+6.02 KB
assets/rancher-cis-benchmark/rancher-cis-benchmark-105.2.0+up7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.19 KB
assets/rancher-eks-operator-crd/rancher-eks-operator-crd-105.2.0+up1.10.2.tgz
Binary file not shown.
Binary file added
BIN
+2.06 KB
assets/rancher-eks-operator/rancher-eks-operator-105.2.0+up1.10.2.tgz
Binary file not shown.
Binary file added
BIN
+1.45 KB
assets/rancher-gke-operator-crd/rancher-gke-operator-crd-105.2.0+up1.10.2.tgz
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+10.4 KB
assets/rancher-vsphere-csi/rancher-vsphere-csi-105.0.1+up3.3.1-rancher7.tgz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/hidden: "true" | ||
catalog.cattle.io/kube-version: '>= 1.28.0-0 < 1.32.0-0' | ||
catalog.cattle.io/namespace: cattle-fleet-system | ||
catalog.cattle.io/os: linux | ||
catalog.cattle.io/permits-os: linux,windows | ||
catalog.cattle.io/rancher-version: '>= 2.10.0-0 < 2.11.0-0' | ||
catalog.cattle.io/release-name: fleet-agent | ||
apiVersion: v2 | ||
appVersion: 0.11.3 | ||
description: Fleet Agent - GitOps at Scale | ||
icon: https://charts.rancher.io/assets/logos/fleet.svg | ||
name: fleet-agent | ||
version: 105.0.3+up0.11.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Fleet Agent Helm Chart | ||
|
||
Every Fleet-managed downstream cluster will run an agent that communicates back to the Fleet controller. This agent is just another set of Kubernetes controllers running in the downstream cluster. | ||
|
||
Standalone Fleet users use this chart for agent-initiated registration. For more details see [agent-initiated registration](https://fleet.rancher.io/cluster-registration#agent-initiated). | ||
Fleet in Rancher does not use this chart, but creates the agent deployments programmatically. | ||
|
||
The Fleet documentation is centralized in the [doc website](https://fleet.rancher.io/). |
22 changes: 22 additions & 0 deletions
22
charts/fleet-agent/105.0.3+up0.11.3/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{- 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 -}} |
16 changes: 16 additions & 0 deletions
16
charts/fleet-agent/105.0.3+up0.11.3/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
kind: ConfigMap | ||
apiVersion: v1 | ||
metadata: | ||
name: fleet-agent | ||
data: | ||
config: |- | ||
{ | ||
{{ if .Values.labels }} | ||
"labels":{{toJson .Values.labels}}, | ||
{{ end }} | ||
"clientID":"{{.Values.clientID}}", | ||
{{ if .Values.garbageCollectionInterval }} | ||
"garbageCollectionInterval": "{{.Values.garbageCollectionInterval}}", | ||
{{ end }} | ||
"agentTLSMode": "{{.Values.agentTLSMode}}" | ||
} |
119 changes: 119 additions & 0 deletions
119
charts/fleet-agent/105.0.3+up0.11.3/templates/deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: fleet-agent | ||
spec: | ||
serviceName: fleet-agent | ||
selector: | ||
matchLabels: | ||
app: fleet-agent | ||
template: | ||
metadata: | ||
labels: | ||
app: fleet-agent | ||
spec: | ||
initContainers: | ||
- env: | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
image: '{{ template "system_default_registry" . }}{{.Values.image.repository}}:{{.Values.image.tag}}' | ||
name: fleet-agent-register | ||
command: | ||
- fleetagent | ||
- register | ||
{{- if .Values.debug }} | ||
- --debug | ||
- --debug-level | ||
- {{ quote .Values.debugLevel }} | ||
{{- end }} | ||
{{- if not .Values.disableSecurityContext }} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
privileged: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
{{- end }} | ||
containers: | ||
- env: | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
{{- if $.Values.agent.reconciler.workers.bundledeployment }} | ||
- name: BUNDLEDEPLOYMENT_RECONCILER_WORKERS | ||
value: {{ quote $.Values.agent.reconciler.workers.bundledeployment }} | ||
{{- end }} | ||
{{- if $.Values.agent.reconciler.workers.drift }} | ||
- name: DRIFT_RECONCILER_WORKERS | ||
value: {{ quote $.Values.agent.reconciler.workers.drift }} | ||
{{- end }} | ||
image: '{{ template "system_default_registry" . }}{{.Values.image.repository}}:{{.Values.image.tag}}' | ||
name: fleet-agent | ||
command: | ||
- fleetagent | ||
{{- if .Values.debug }} | ||
- --debug | ||
- --debug-level | ||
- {{ quote .Values.debugLevel }} | ||
{{- end }} | ||
{{- if not .Values.disableSecurityContext }} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
privileged: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
{{- end }} | ||
volumeMounts: | ||
- mountPath: /.kube | ||
name: kube | ||
- env: | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
image: '{{ template "system_default_registry" . }}{{.Values.image.repository}}:{{.Values.image.tag}}' | ||
name: fleet-agent-clusterstatus | ||
command: | ||
- fleetagent | ||
- clusterstatus | ||
{{- if .Values.debug }} | ||
- --debug | ||
- --debug-level | ||
- {{ quote .Values.debugLevel }} | ||
{{- end }} | ||
{{- if not .Values.disableSecurityContext }} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
privileged: false | ||
capabilities: | ||
drop: | ||
- ALL | ||
{{- end }} | ||
volumes: | ||
- name: kube | ||
emptyDir: {} | ||
serviceAccountName: fleet-agent | ||
{{- if .Values.fleetAgent.hostNetwork }} | ||
hostNetwork: true | ||
{{- end }} | ||
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} | ||
{{- if .Values.fleetAgent.nodeSelector }} | ||
{{ toYaml .Values.fleetAgent.nodeSelector | indent 8 }} | ||
{{- end }} | ||
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }} | ||
{{- if .Values.fleetAgent.tolerations }} | ||
{{ toYaml .Values.fleetAgent.tolerations | indent 8 }} | ||
{{- end }} | ||
{{- if not .Values.disableSecurityContext }} | ||
securityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
{{- end }} |
15 changes: 15 additions & 0 deletions
15
charts/fleet-agent/105.0.3+up0.11.3/templates/network_policy_allow_all.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: default-allow-all | ||
namespace: {{ .Values.internal.systemNamespace }} | ||
spec: | ||
podSelector: {} | ||
ingress: | ||
- {} | ||
egress: | ||
- {} | ||
policyTypes: | ||
- Ingress | ||
- Egress |
28 changes: 28 additions & 0 deletions
28
charts/fleet-agent/105.0.3+up0.11.3/templates/patch_default_serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: patch-fleet-sa | ||
annotations: | ||
"helm.sh/hook": post-install, post-upgrade | ||
"helm.sh/hook-delete-policy": hook-succeeded, before-hook-creation | ||
spec: | ||
template: | ||
spec: | ||
serviceAccountName: fleet-agent | ||
restartPolicy: Never | ||
containers: | ||
- name: sa | ||
image: "{{ template "system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}" | ||
imagePullPolicy: {{ .Values.global.imagePullPolicy }} | ||
command: ["kubectl", "patch", "serviceaccount", "default", "-p", "{\"automountServiceAccountToken\": false}"] | ||
args: ["-n", {{ .Values.internal.systemNamespace }}] | ||
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} | ||
{{- if .Values.kubectl.nodeSelector }} | ||
{{ toYaml .Values.kubectl.nodeSelector | indent 8 }} | ||
{{- end }} | ||
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }} | ||
{{- if .Values.kubectl.tolerations }} | ||
{{ toYaml .Values.kubectl.tolerations | indent 8 }} | ||
{{- end }} | ||
backoffLimit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: fleet-agent-system-fleet-agent-role | ||
rules: | ||
- apiGroups: | ||
- '*' | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
- nonResourceURLs: | ||
- "*" | ||
verbs: | ||
- "*" | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: fleet-agent-system-fleet-agent-role-binding | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: fleet-agent-system-fleet-agent-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: fleet-agent | ||
namespace: {{.Release.Namespace}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
data: | ||
systemRegistrationNamespace: "{{b64enc .Values.systemRegistrationNamespace}}" | ||
clusterNamespace: "{{b64enc .Values.clusterNamespace}}" | ||
token: "{{b64enc .Values.token}}" | ||
apiServerURL: "{{b64enc .Values.apiServerURL}}" | ||
apiServerCA: "{{b64enc .Values.apiServerCA}}" | ||
kind: Secret | ||
metadata: | ||
name: fleet-agent-bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: fleet-agent | ||
spec: | ||
type: ClusterIP | ||
clusterIP: None | ||
selector: | ||
app: fleet-agent |
4 changes: 4 additions & 0 deletions
4
charts/fleet-agent/105.0.3+up0.11.3/templates/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: fleet-agent |
11 changes: 11 additions & 0 deletions
11
charts/fleet-agent/105.0.3+up0.11.3/templates/validate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{if ne .Release.Namespace .Values.internal.systemNamespace }} | ||
{{ fail (printf "This chart must be installed in the namespace %s as the release name fleet-agent" .Values.internal.systemNamespace) }} | ||
{{end}} | ||
|
||
{{if ne .Release.Name .Values.internal.managedReleaseName }} | ||
{{ fail (printf "This chart must be installed in the namespace %s as the release name fleet-agent" .Values.internal.managedReleaseName) }} | ||
{{end}} | ||
|
||
{{if not .Values.apiServerURL }} | ||
{{ fail "apiServerURL is required to be set, and most likely also apiServerCA" }} | ||
{{end}} |
Oops, something went wrong.