hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/argo-cd/applications/production-hm/kafbat-ui/argo-cd-manifests/hm-kafbat-ui-application.yaml

Summary

Maintainability
Test Coverage
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: hm-kafbat-ui
  namespace: production-hm-argo-cd
  labels:
    app.kubernetes.io/name: hm-kafbat-ui
spec:
  project: production-hm
  sources:
    - repoURL: https://kafbat.github.io/helm-charts
      # https://artifacthub.io/packages/helm/kafka-ui/kafka-ui
      targetRevision: 1.4.2
      chart: kafka-ui
      helm:
        releaseName: hm-kafbat-ui
        values: |
          # https://github.com/kafbat/helm-charts/blob/main/charts/kafka-ui/values.yaml
          ---
          yamlApplicationConfig:
            kafka:
              clusters:
                - name: hm-kafka
                  bootstrapServers: b-1.hmkafka.xxxxxx.xx.kafka.us-west-2.amazonaws.com:9098,b-2.hmkafka.xxxxxx.xx.kafka.us-west-2.amazonaws.com:9098,b-3.hmkafka.xxxxxx.xx.kafka.us-west-2.amazonaws.com:9098
                  properties:
                    security.protocol: SASL_SSL
                    sasl.mechanism: AWS_MSK_IAM
                    sasl.jaas.config: software.amazon.msk.auth.iam.IAMLoginModule required;
                    sasl.client.callback.handler.class: software.amazon.msk.auth.iam.IAMClientCallbackHandler
            auth:
              type: disabled
            management:
              health:
                ldap:
                  enabled: false
          serviceAccount:
            create: true
            annotations:
              eks.amazonaws.com/role-arn: arn:aws:iam::272394222652:role/KafbatUIRole-hm-kafbat-ui
          resources:
            requests:
              cpu: 50m
              memory: 512Mi
            limits:
              cpu: 300m
              memory: 2Gi
    - repoURL: git@github.com:hongbo-miao/hongbomiao.com.git
      targetRevision: HEAD
      path: kubernetes/argo-cd/applications/production-hm/kafbat-ui/kubernetes-manifests
  destination:
    namespace: production-hm-kafbat-ui
    server: https://kubernetes.default.svc
  syncPolicy:
    syncOptions:
      - ServerSideApply=true
    automated:
      prune: true