Skip to content

Commit

Permalink
chore: Dedupe images to reduce airgapped bundle size (#1469)
Browse files Browse the repository at this point in the history
* chore: Dedupe images to reduce airgapped bundle size

* chore: Bump charts

* fix: don't specify prometheus and kube-state-metrics tags

* chore: try with kube-state-metrics v2.9.2

* feat(kubecost): Update thanos image to 0.32.5

* fix: Use kubectl 1.26.4

To avoid having to bump kubectl in all apps in k-apps, it would be
easier to just align to the existing image in k-apps for now, in case
there are errors with the newer version.

* fix(kubecost): Revert image updates

CI is failing, revert for now to tackle in separate PR.

---------

Co-authored-by: Brian Mendoza <[email protected]>
  • Loading branch information
gracedo and Brian Mendoza authored Nov 10, 2023
1 parent 610e0d8 commit 6135b0d
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion stable/kommander-cert-federation/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart to create and federate TLS certificates used by komman
home: https://github.com/mesosphere/charts
name: kommander-cert-federation
type: application
version: 0.0.5
version: 0.0.6
maintainers:
- name: mikolajb
- name: takirala
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
initContainers:
# These initContainers should run at most once (should succeed only once).
- name: patch-secret
image: bitnami/kubectl:1.24.1
image: bitnami/kubectl:1.26.4
command:
- sh
- "-c"
Expand Down Expand Up @@ -138,7 +138,7 @@ spec:
containers:
# This is a dummy container to ensure deployment is Running. It will be restarted by reloader if/when certs are renewed.
- name: wait-for-renewal
image: bitnami/kubectl:1.24.1
image: bitnami/kubectl:1.26.4
command:
- sh
- "-c"
Expand Down
2 changes: 1 addition & 1 deletion stable/object-bucket-claim/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for ObjectBucketClaim to be consumed by other applicat
home: https://github.com/mesosphere/charts
keywords:
- kommander
version: 0.1.7
version: 0.1.8
appVersion: "0.1.7"
maintainers:
- name: cwyl02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
{{- end }}
containers:
- name: kubectl
image: "bitnami/kubectl:1.24.1"
image: "bitnami/kubectl:1.26.4"
command:
- sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion staging/knative/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: knative
version: 1.10.6
version: 1.10.7
description: "Kubernetes-based platform to build, deploy, and manage modern serverless workloads"
home: https://knative.dev/
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion staging/knative/charts/serving/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
global:
serviceLabels: {}
image: docker.io/bitnami/kubectl
tag: 1.24.1
tag: 1.26.4

autoscaler:
containerConcurrencyTargetPercentage: "70"
Expand Down
2 changes: 1 addition & 1 deletion staging/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 48.3.2
version: 48.3.3
appVersion: v0.66.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mesosphereResources:
elasticsearch: false
velero: false
hooks:
kubectlImage: bitnami/kubectl:1.24.1
kubectlImage: bitnami/kubectl:1.26.4
prometheus:
jobName: prom-get-cluster-id
configmapName: cluster-info-configmap
Expand Down
2 changes: 1 addition & 1 deletion staging/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4050,7 +4050,7 @@ mesosphereResources:
elasticsearch: false
velero: false
hooks:
kubectlImage: bitnami/kubectl:1.24.1
kubectlImage: bitnami/kubectl:1.26.4
prometheus:
jobName: prom-get-cluster-id
configmapName: cluster-info-configmap
Expand Down
2 changes: 1 addition & 1 deletion staging/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.5.2
description: A Helm chart for velero
name: velero
version: 3.2.3
version: 3.2.4
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion staging/velero/templates/cleanup-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
serviceAccountName: {{ include "velero.serverServiceAccount" . }}
containers:
- name: kubectl
image: bitnami/kubectl:1.24.1
image: bitnami/kubectl:1.26.4
imagePullPolicy: IfNotPresent
command:
- /bin/sh
Expand Down
2 changes: 1 addition & 1 deletion staging/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ minioBackend: false
## End of additional Velero resource settings.
##

kubectlImage: "bitnami/kubectl:1.24.1"
kubectlImage: "bitnami/kubectl:1.26.4"

0 comments on commit 6135b0d

Please sign in to comment.