diff --git a/.github/workflows/lint-chart.yml b/.github/workflows/lint-chart.yml index 3d31f15..0321aee 100644 --- a/.github/workflows/lint-chart.yml +++ b/.github/workflows/lint-chart.yml @@ -10,6 +10,10 @@ jobs: make-lint-chart: runs-on: ubuntu-latest steps: + - name: Install oc + uses: redhat-actions/oc-installer@v1 + with: + oc_version: '4.6' - uses: actions/checkout@v2 - name: Authenticate to OpenShift Linter namespace uses: redhat-actions/oc-login@v1 diff --git a/helm/cas-metabase/templates/autoscaler.yaml b/helm/cas-metabase/templates/autoscaler.yaml index 8acf7c0..c64b2fa 100644 --- a/helm/cas-metabase/templates/autoscaler.yaml +++ b/helm/cas-metabase/templates/autoscaler.yaml @@ -1,5 +1,5 @@ {{- if .Values.metabaseHPA.enable }} -apiVersion: autoscaling/v1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "cas-metabase.fullname" . }}-hpa