Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api version for HPA #16

Open
4 tasks done
expake opened this issue Aug 31, 2023 · 0 comments
Open
4 tasks done

Update api version for HPA #16

expake opened this issue Aug 31, 2023 · 0 comments

Comments

@expake
Copy link

expake commented Aug 31, 2023

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here (legacy) and here
  • I've tried installing latest charts and the issue still persists there
  • I'm running a supported version of the application & chart which is listed here

Describe the bug (actual behavior)

Release kafka-ui-dev uses obsolete version of api autoscaling/v2beta1 for object HorizontalPodAutoscaler, autoscaling/v2beta1 will be removed in v1.25.0, you need to replace with autoscaling/v2

Expected behavior

Warning does not appear

Your installation details


apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: kafka
namespace: kafka
spec:
releaseName: kafka-ui-dev
interval: 1m
timeout: 10m
chart:
spec:
chart: kafka-ui
version: "0.7.1"
sourceRef:
kind: HelmRepository
name: provectus
namespace: fluxcd
interval: 1m
values:
existingSecret: kafka-ui-clientsecret
image:
tag: "9549f68d7edcb0022687c8155010ba3c5b2cddac"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
yamlApplicationConfig:
kafka:
clusters:
- name: dev
bootstrapServers: kafka-test.kafka.svc.cluster.local:9092
- name: stage
bootstrapServers: kafka-stage.kafka.svc.cluster.local:9092
- name: prod
bootstrapServers: kafka-main.kafka.svc.cluster.local:9092
auth:
type: OAUTH2
oauth2:
client:
google:
provider: google
clientSecret: ${clientSecret}
clientId: ${clientId}
user-name-attribute: email
custom-params:
type: google
allowedDomain:
management:
health:
ldap:
enabled: false
rbac:
roles:
- name: "readonly"
clusters:
- dev
- stage
- prod
subjects:
- provider: oauth_google
type: domain
value:
permissions:
- resource: clusterconfig
actions: ["view"]

          - resource: topic
            value: ".*"
            actions:
              - VIEW
              - MESSAGES_READ

          - resource: consumer
            value: ".*"
            actions: [view]

          - resource: schema
            value: ".*"
            actions: [view]

          - resource: connect
            value: ".*"
            actions: [view]

          - resource: acl
            actions: [view]
      - name: "admins"
        clusters:
          - dev
          - stage
          - prod
        subjects:
          - provider: oauth_google
            type: user
            value: ""
          - provider: oauth_google
            type: user
            value: ""
        permissions:
          - resource: applicationconfig
            actions: all

          - resource: clusterconfig
            actions: all

          - resource: topic
            value: ".*"
            actions: all

          - resource: consumer
            value: ".*"
            actions: all

          - resource: schema
            value: ".*"
            actions: all

          - resource: connect
            value: ".*"
            actions: all

          - resource: ksql
            actions: all

          - resource: acl
            actions: [view]
ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
    nginx.ingress.kubernetes.io/configuration-snippet: |
      0.0.0.0/0;
      deny all;
  host: kafka-ui.dev
  tls:
    enabled: true
    secretName: kafka-ui.dev
service:
  type: ClusterIP
resources:
  requests:
    cpu: 200m
    memory: 500Mi
  limits:
    memory: 500Mi

Steps to reproduce

just apply hr on gke platform

Screenshots

No response

Logs

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant