From 60ef92b828376d93ce19a28b0f5d908a1d21c6ba Mon Sep 17 00:00:00 2001 From: Roi Kramer Date: Sun, 24 Sep 2023 09:49:15 +0300 Subject: [PATCH] test --- .github/ct.yaml | 2 ++ charts/ocean-kubernetes-controller/Chart.yaml | 5 ++++- .../ocean-kubernetes-controller/templates/clusterrole.yaml | 3 --- charts/ocean-kubernetes-controller/templates/deployment.yaml | 1 - charts/ocean-kubernetes-controller/values.yaml | 2 -- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/ct.yaml b/.github/ct.yaml index 475449d..970c205 100644 --- a/.github/ct.yaml +++ b/.github/ct.yaml @@ -4,4 +4,6 @@ # - incubator=https://charts.helm.sh/incubator target-branch: main helm-extra-args: --debug +chart-repos: +- metrics-server=https://kubernetes-sigs.github.io/metrics-server debug: true diff --git a/charts/ocean-kubernetes-controller/Chart.yaml b/charts/ocean-kubernetes-controller/Chart.yaml index c030706..e574c9c 100644 --- a/charts/ocean-kubernetes-controller/Chart.yaml +++ b/charts/ocean-kubernetes-controller/Chart.yaml @@ -4,6 +4,7 @@ description: A Helm chart for Ocean Controller type: application version: 0.1.0 appVersion: 2.0.17 +kubeVersion: ">=1.20.0-0" maintainers: - name: spotinst email: ng-spot-info@netapp.com @@ -16,4 +17,6 @@ dependencies: - name: metrics-server version: 3.11.0 repository: https://kubernetes-sigs.github.io/metrics-server - condition: metrics-server.enabled \ No newline at end of file + condition: metrics-server.enabled +annotations: + artifacthub.io/prerelease: "true" diff --git a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml index 3cfb62f..d571da3 100644 --- a/charts/ocean-kubernetes-controller/templates/clusterrole.yaml +++ b/charts/ocean-kubernetes-controller/templates/clusterrole.yaml @@ -85,9 +85,6 @@ rules: - apiGroups: ["apps"] resources: ["deployments", "daemonsets"] verbs: ["get", "list", "patch", "update", "create", "delete"] -- apiGroups: ["extensions"] - resources: ["daemonsets"] - verbs: ["get", "list", "patch", "update", "create", "delete"] - apiGroups: [""] resources: ["pods"] verbs: ["get", "list", "patch", "update", "create", "delete"] diff --git a/charts/ocean-kubernetes-controller/templates/deployment.yaml b/charts/ocean-kubernetes-controller/templates/deployment.yaml index 730572d..ca1dcf0 100644 --- a/charts/ocean-kubernetes-controller/templates/deployment.yaml +++ b/charts/ocean-kubernetes-controller/templates/deployment.yaml @@ -156,7 +156,6 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} volumes: - # TODO: handle caBundleSecret volume {{- with .Values.extraVolumes }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/ocean-kubernetes-controller/values.yaml b/charts/ocean-kubernetes-controller/values.yaml index 42ae504..9854e0d 100644 --- a/charts/ocean-kubernetes-controller/values.yaml +++ b/charts/ocean-kubernetes-controller/values.yaml @@ -85,8 +85,6 @@ securityContext: drop: - ALL -priorityClassName: system-cluster-critical - args: [] # - --test