From 39e8436f82f08953114db5cc67decc1e09903f61 Mon Sep 17 00:00:00 2001 From: Zuhair AlSader Date: Tue, 11 Apr 2023 09:04:20 -0400 Subject: [PATCH] helm: add artifacthub annotations (#57) * helm: add artifacthub annotations Signed-off-by: Zuhair AlSader * helm: update image versions Signed-off-by: Zuhair AlSader --------- Signed-off-by: Zuhair AlSader --- .../koor-operator.clusterserviceversion.yaml | 2 +- charts/koor-operator/Chart.yaml | 23 +++++++++++++-- charts/koor-operator/README.md | 28 ++++++++++++++++++- .../templates/koorcluster-job.yaml | 2 +- .../templates/koorcluster-predelete-job.yaml | 2 +- charts/koor-operator/values.yaml | 2 +- config/default/manager_auth_proxy_patch.yaml | 2 +- 7 files changed, 53 insertions(+), 8 deletions(-) diff --git a/bundle/manifests/koor-operator.clusterserviceversion.yaml b/bundle/manifests/koor-operator.clusterserviceversion.yaml index 78e9a3a..0df78cb 100644 --- a/bundle/manifests/koor-operator.clusterserviceversion.yaml +++ b/bundle/manifests/koor-operator.clusterserviceversion.yaml @@ -154,7 +154,7 @@ spec: - --upstream=http://127.0.0.1:8080/ - --logtostderr=true - --v=0 - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1 name: kube-rbac-proxy ports: - containerPort: 8443 diff --git a/charts/koor-operator/Chart.yaml b/charts/koor-operator/Chart.yaml index 17079b4..e720c64 100644 --- a/charts/koor-operator/Chart.yaml +++ b/charts/koor-operator/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,6 +31,25 @@ kubeVersion: ">=1.19.0" dependencies: - name: cert-manager repository: https://charts.jetstack.io - version: v1.11.0 + version: v1.11.1 condition: certmanager.enabled alias: certmanager + +keywords: + - storage + - operator + - rook + - ceph + +sources: + - https://github.com/koor-tech/koor-operator/ + +icon: https://koor.tech/images/favicon.svg + +annotations: + # Artifacthub annotations + artifacthub.io/category: storage + artifacthub.io/operator: "true" + artifacthub.io/license: Apache-2.0 + # Update this as we add more to the operator + artifacthub.io/operatorCapabilities: basic install diff --git a/charts/koor-operator/README.md b/charts/koor-operator/README.md index 660b526..1d5c995 100644 --- a/charts/koor-operator/README.md +++ b/charts/koor-operator/README.md @@ -1,2 +1,28 @@ # koor-operator -A Helm chart for deploying the Koor Operator to Kubernetes +An operator that installs Koor Storage Distro + +## Description +This operator is equivalent to the following commands: + +```sh +helm repo add koor-release https://charts.koor.tech/release +helm install --create-namespace --namespace -rook-ceph koor-release/rook-ceph -f utils/operatorValues.yaml +helm install --create-namespace --namespace -rook-ceph-cluster \ + --set operatorNamespace= koor-release/rook-ceph-cluster -f utils/clusterValues.yaml +``` + +## License + +Copyright 2023 Koor Technologies, Inc. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/charts/koor-operator/templates/koorcluster-job.yaml b/charts/koor-operator/templates/koorcluster-job.yaml index 740c522..fa250ac 100644 --- a/charts/koor-operator/templates/koorcluster-job.yaml +++ b/charts/koor-operator/templates/koorcluster-job.yaml @@ -17,7 +17,7 @@ spec: serviceAccountName: {{ include "koor-operator.jobName" . }} containers: - name: {{ include "koor-operator.fullname" . }}-koorcluster-install-job - image: bitnami/kubectl:1.25.6 + image: bitnami/kubectl:1.26 command: - "bin/bash" - "-c" diff --git a/charts/koor-operator/templates/koorcluster-predelete-job.yaml b/charts/koor-operator/templates/koorcluster-predelete-job.yaml index a2511d6..ada0e66 100644 --- a/charts/koor-operator/templates/koorcluster-predelete-job.yaml +++ b/charts/koor-operator/templates/koorcluster-predelete-job.yaml @@ -20,7 +20,7 @@ spec: serviceAccountName: {{ include "koor-operator.jobName" . }} containers: - name: {{ include "koor-operator.fullname" . }}-koorcluster-delete-job - image: bitnami/kubectl:1.25.6 + image: bitnami/kubectl:1.26 command: - "bin/bash" - "-c" diff --git a/charts/koor-operator/values.yaml b/charts/koor-operator/values.yaml index 331d23e..c6f0254 100644 --- a/charts/koor-operator/values.yaml +++ b/charts/koor-operator/values.yaml @@ -10,7 +10,7 @@ controllerManager: - ALL image: repository: gcr.io/kubebuilder/kube-rbac-proxy - tag: v0.13.0 + tag: v0.13.1 resources: limits: cpu: 500m diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 687c4a7..b751266 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -31,7 +31,7 @@ spec: capabilities: drop: - "ALL" - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.1 args: - "--secure-listen-address=0.0.0.0:8443" - "--upstream=http://127.0.0.1:8080/"