From adf7dbdd17d2f43ca1ed503672288c61d0210949 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Fri, 20 Dec 2024 11:12:20 +0000 Subject: [PATCH] fixup! Add packaged charts --- charts/kube-images-sync-operator/Chart.yaml | 4 +- .../templates/deployment.yaml | 3 +- .../templates/sa-metrics-service.yaml | 4 +- charts/kube-images-sync-operator/values.yaml | 4 +- index.yaml | 42 ++++++++++++++++++- 5 files changed, 49 insertions(+), 8 deletions(-) diff --git a/charts/kube-images-sync-operator/Chart.yaml b/charts/kube-images-sync-operator/Chart.yaml index ea4a089..a838274 100644 --- a/charts/kube-images-sync-operator/Chart.yaml +++ b/charts/kube-images-sync-operator/Chart.yaml @@ -10,9 +10,9 @@ description: | type: application -version: 0.2.17 +version: 0.2.22 -appVersion: "0.2.17" +appVersion: "0.2.22" home: https://github.com/lukaszraczylo/kubernetes-images-sync-operator diff --git a/charts/kube-images-sync-operator/templates/deployment.yaml b/charts/kube-images-sync-operator/templates/deployment.yaml index f9d2058..633ee6e 100644 --- a/charts/kube-images-sync-operator/templates/deployment.yaml +++ b/charts/kube-images-sync-operator/templates/deployment.yaml @@ -48,7 +48,6 @@ spec: resources: {{- toYaml .Values.sa.manager.resources | nindent 10 }} securityContext: {{- toYaml .Values.sa.manager.containerSecurityContext | nindent 10 }} - securityContext: - runAsNonRoot: true + securityContext: {{- toYaml .Values.sa.podSecurityContext | nindent 8 }} serviceAccountName: {{ include "chart.fullname" . }}-sa terminationGracePeriodSeconds: 10 \ No newline at end of file diff --git a/charts/kube-images-sync-operator/templates/sa-metrics-service.yaml b/charts/kube-images-sync-operator/templates/sa-metrics-service.yaml index 8e7d5ed..a32d364 100644 --- a/charts/kube-images-sync-operator/templates/sa-metrics-service.yaml +++ b/charts/kube-images-sync-operator/templates/sa-metrics-service.yaml @@ -9,6 +9,6 @@ spec: type: {{ .Values.saMetricsService.type }} selector: control-plane: sa - {{- include "chart.selectorLabels" . | nindent 4 }} + {{- include "chart.selectorLabels" . | nindent 4 }} ports: - {{- .Values.saMetricsService.ports | toYaml | nindent 2 }} \ No newline at end of file + {{- .Values.saMetricsService.ports | toYaml | nindent 2 }} \ No newline at end of file diff --git a/charts/kube-images-sync-operator/values.yaml b/charts/kube-images-sync-operator/values.yaml index 53f5f50..0666733 100644 --- a/charts/kube-images-sync-operator/values.yaml +++ b/charts/kube-images-sync-operator/values.yaml @@ -12,7 +12,7 @@ sa: - ALL image: repository: ghcr.io/lukaszraczylo/kubernetes-images-sync-operator - tag: 0.2.17 + tag: 0.2.22 resources: limits: cpu: 500m @@ -20,6 +20,8 @@ sa: requests: cpu: 10m memory: 64Mi + podSecurityContext: + runAsNonRoot: true replicas: 1 serviceAccount: annotations: {} diff --git a/index.yaml b/index.yaml index b5d4f37..e4bc85e 100644 --- a/index.yaml +++ b/index.yaml @@ -92,6 +92,46 @@ entries: - https://github.com/lukaszraczylo/helm-charts/releases/download/jobs-manager-0.0.24/jobs-manager-0.0.24.tgz version: 0.0.24 kube-images-sync: + - apiVersion: v2 + appVersion: 0.2.22 + created: "2024-12-20T11:09:35.902749Z" + description: 'A Helm chart for Kubernetes Images Sync Operator. Kubernetes Images + Sync Operator is responsible for backing up and restoring images from a Kubernetes + cluster. It''s ultimate goal is to provide synchonization of images between + multiple environments, quite often air-gapped. It compiles the list of images + currently present in the cluster and uploads them to the specified storage. + Whenever new CRD is created - it will try to figure out which images were already + uploaded and which are new and upload only the new ones to avoid repetition. ' + digest: 770f0996de22b4001df829d6389bee81d508f6e66f85a249e2c4a5e586d0890e + home: https://github.com/lukaszraczylo/kubernetes-images-sync-operator + maintainers: + - email: github-enquiries@raczylo.com + name: lukaszraczylo + name: kube-images-sync + type: application + urls: + - https://github.com/lukaszraczylo/helm-charts/releases/download/kube-images-sync-0.2.22/kube-images-sync-0.2.22.tgz + version: 0.2.22 + - apiVersion: v2 + appVersion: 0.2.20 + created: "2024-12-20T11:09:35.695341Z" + description: 'A Helm chart for Kubernetes Images Sync Operator. Kubernetes Images + Sync Operator is responsible for backing up and restoring images from a Kubernetes + cluster. It''s ultimate goal is to provide synchonization of images between + multiple environments, quite often air-gapped. It compiles the list of images + currently present in the cluster and uploads them to the specified storage. + Whenever new CRD is created - it will try to figure out which images were already + uploaded and which are new and upload only the new ones to avoid repetition. ' + digest: b30869a5355e3e6056086c9ddc3da7dca32e38bc0545525bf162b3dd7432e842 + home: https://github.com/lukaszraczylo/kubernetes-images-sync-operator + maintainers: + - email: github-enquiries@raczylo.com + name: lukaszraczylo + name: kube-images-sync + type: application + urls: + - https://github.com/lukaszraczylo/helm-charts/releases/download/kube-images-sync-0.2.20/kube-images-sync-0.2.20.tgz + version: 0.2.20 - apiVersion: v2 appVersion: 0.2.17 created: "2024-09-12T00:34:17.607754+01:00" @@ -492,4 +532,4 @@ entries: urls: - https://github.com/lukaszraczylo/helm-charts/releases/download/kube-images-sync-0.1.5/kube-images-sync-0.1.5.tgz version: 0.1.5 -generated: "2024-09-12T00:34:17.607842+01:00" +generated: "2024-12-20T11:09:35.903087Z"