Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-v2.9] fleet 104.0.3+up0.10.3-rc.2 update #4498

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file removed assets/fleet-crd/fleet-crd-104.0.3+up0.10.3-rc.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed assets/fleet/fleet-104.0.3+up0.10.3-rc.1.tgz
Binary file not shown.
Binary file added assets/fleet/fleet-104.0.3+up0.10.3-rc.2.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ annotations:
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet-agent
apiVersion: v2
appVersion: 0.10.3-rc.1
appVersion: 0.10.3-rc.2
description: Fleet Manager Agent - GitOps at Scale
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet-agent
version: 104.0.3+up0.10.3-rc.1
version: 104.0.3+up0.10.3-rc.2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
os: "windows,linux"
repository: rancher/fleet-agent
tag: v0.10.3-rc.1
tag: v0.10.3-rc.2

# The public URL of the Kubernetes API server running the Fleet Manager must be set here
# Example: https://example.com:6443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ annotations:
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/release-name: fleet-crd
apiVersion: v2
appVersion: 0.10.3-rc.1
appVersion: 0.10.3-rc.2
description: Fleet Manager CustomResourceDefinitions
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet-crd
version: 104.0.3+up0.10.3-rc.1
version: 104.0.3+up0.10.3-rc.2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ annotations:
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet
apiVersion: v2
appVersion: 0.10.3-rc.1
appVersion: 0.10.3-rc.2
description: Fleet Manager - GitOps at Scale
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet
version: 104.0.3+up0.10.3-rc.1
version: 104.0.3+up0.10.3-rc.2
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ spec:
- name: CATTLE_DEV_MODE
value: "true"
{{- end }}
{{- if $.Values.controller.reconciler.workers.gitrepo }}
- name: GITREPO_RECONCILER_WORKERS
value: {{ quote $.Values.controller.reconciler.workers.gitrepo }}
{{- end }}
{{- if $.Values.controller.reconciler.workers.bundle }}
- name: BUNDLE_RECONCILER_WORKERS
value: {{ quote $.Values.controller.reconciler.workers.bundle }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
- fleet
args:
- cleanup
- clusterregistration
nodeSelector: {{ include "linux-node-selector" . | nindent 8 }}
tolerations: {{ include "linux-node-tolerations" . | nindent 8 }}
backoffLimit: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{{- if .Values.migrations.gitrepoJobsCleanup }}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: fleet-cleanup-gitrepo-jobs
annotations:
"helm.sh/hook": post-install, post-upgrade
"helm.sh/hook-delete-policy": hook-succeeded, before-hook-creation
spec:
schedule: "@daily"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 0
failedJobsHistoryLimit: 1
jobTemplate:
spec:
template:
metadata:
labels:
app: fleet-job
spec:
serviceAccountName: fleet-controller
restartPolicy: Never
securityContext:
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 1000
containers:
- name: cleanup
image: "{{ template "system_default_registry" . }}{{.Values.image.repository}}:{{.Values.image.tag}}"
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
privileged: false
command:
- fleet
args:
- cleanup
- gitjob
nodeSelector: {{ include "linux-node-selector" . | nindent 12 }}
tolerations: {{ include "linux-node-tolerations" . | nindent 12 }}
backoffLimit: 1
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
image:
repository: rancher/fleet
tag: v0.10.3-rc.1
tag: v0.10.3-rc.2
imagePullPolicy: IfNotPresent

agentImage:
repository: rancher/fleet-agent
tag: v0.10.3-rc.1
tag: v0.10.3-rc.2
imagePullPolicy: IfNotPresent

# For cluster registration the public URL of the Kubernetes API server must be set here
Expand Down Expand Up @@ -87,6 +87,7 @@ propagateDebugSettingsToAgents: true

migrations:
clusterRegistrationCleanup: true
gitrepoJobsCleanup: true

## Leader election configuration
leaderElection:
Expand All @@ -99,9 +100,9 @@ controller:
reconciler:
# The number of workers that are allowed to each type of reconciler
workers:
gitrepo: "1"
bundle: "1"
bundledeployment: "1"
gitrepo: "50"
bundle: "50"
bundledeployment: "50"

# Extra environment variables passed to the fleet pods.
# extraEnv:
Expand Down
30 changes: 15 additions & 15 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -819,15 +819,15 @@ entries:
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet
apiVersion: v2
appVersion: 0.10.3-rc.1
created: "2024-09-23T11:14:58.058530831Z"
appVersion: 0.10.3-rc.2
created: "2024-09-27T14:56:06.337120926Z"
description: Fleet Manager - GitOps at Scale
digest: 643794fbe1c8e1097c014afc9afd3ec7f3d58a6b168dd42c6d2b4a199ebe3e5a
digest: 6b96bf931273619fed594f5faffd2ca4603a30e0cb74e71266108c97add90d42
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet
urls:
- assets/fleet/fleet-104.0.3+up0.10.3-rc.1.tgz
version: 104.0.3+up0.10.3-rc.1
- assets/fleet/fleet-104.0.3+up0.10.3-rc.2.tgz
version: 104.0.3+up0.10.3-rc.2
- annotations:
catalog.cattle.io/auto-install: fleet-crd=match
catalog.cattle.io/certified: rancher
Expand Down Expand Up @@ -1792,15 +1792,15 @@ entries:
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet-agent
apiVersion: v2
appVersion: 0.10.3-rc.1
created: "2024-09-23T11:15:00.195555839Z"
appVersion: 0.10.3-rc.2
created: "2024-09-27T14:56:08.380795856Z"
description: Fleet Manager Agent - GitOps at Scale
digest: c6da20b6d41ec14a09dae31b301fd3bc8cecddf9407ee1a01161cf62661adc73
digest: 5ab4b3b11a6e483aecb06604967fc53635976ed8c97a022919d87980e15124e5
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet-agent
urls:
- assets/fleet-agent/fleet-agent-104.0.3+up0.10.3-rc.1.tgz
version: 104.0.3+up0.10.3-rc.1
- assets/fleet-agent/fleet-agent-104.0.3+up0.10.3-rc.2.tgz
version: 104.0.3+up0.10.3-rc.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
Expand Down Expand Up @@ -2526,15 +2526,15 @@ entries:
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/release-name: fleet-crd
apiVersion: v2
appVersion: 0.10.3-rc.1
created: "2024-09-23T11:15:02.300923914Z"
appVersion: 0.10.3-rc.2
created: "2024-09-27T14:56:10.506120526Z"
description: Fleet Manager CustomResourceDefinitions
digest: d8eed853275dbe3293d07a0fbbd0dd8837e41de4dc4de8b1dd561f4642f2de7f
digest: 032a1bff0fd77f2e0a2f2961e5453dfdc8c33109bde4b79793767c42b203de0e
icon: https://charts.rancher.io/assets/logos/fleet.svg
name: fleet-crd
urls:
- assets/fleet-crd/fleet-crd-104.0.3+up0.10.3-rc.1.tgz
version: 104.0.3+up0.10.3-rc.1
- assets/fleet-crd/fleet-crd-104.0.3+up0.10.3-rc.2.tgz
version: 104.0.3+up0.10.3-rc.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
+ catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet-agent
apiVersion: v2
appVersion: 0.10.3-rc.1
appVersion: 0.10.3-rc.2
2 changes: 1 addition & 1 deletion packages/fleet/fleet-agent/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.1/fleet-agent-0.10.3-rc.1.tgz
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.2/fleet-agent-0.10.3-rc.2.tgz
version: 104.0.3
2 changes: 1 addition & 1 deletion packages/fleet/fleet-crd/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.1/fleet-crd-0.10.3-rc.1.tgz
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.2/fleet-crd-0.10.3-rc.2.tgz
version: 104.0.3
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
+ catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0'
catalog.cattle.io/release-name: fleet
apiVersion: v2
appVersion: 0.10.3-rc.1
appVersion: 0.10.3-rc.2
2 changes: 1 addition & 1 deletion packages/fleet/fleet/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.1/fleet-0.10.3-rc.1.tgz
url: https://github.com/rancher/fleet/releases/download/v0.10.3-rc.2/fleet-0.10.3-rc.2.tgz
version: 104.0.3
6 changes: 3 additions & 3 deletions release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
fleet:
- 104.0.3+up0.10.3-rc.1
- 104.0.3+up0.10.3-rc.2
fleet-crd:
- 104.0.3+up0.10.3-rc.1
- 104.0.3+up0.10.3-rc.2
fleet-agent:
- 104.0.3+up0.10.3-rc.1
- 104.0.3+up0.10.3-rc.2
longhorn:
- 104.2.0+up1.7.1
- 102.5.0+up1.7.1
Expand Down