<@U04S8PLJWMT> chart version: `v1.7.2` Hello good...
# ask-ai
s
@kapa.ai chart version:
v1.7.2
Hello good people, I'm having this issue in deploying Airbyte, when I try to deploy it using the helm chart I'm getting this error:
Copy code
Could not determine release state: unable to determine cluster state: Deployment/data-pipelines/airbyte-workload-api-server dry-run failed: failed to create typed patch object (data-pipelines/airbyte-workload-api-server; apps/v1, Kind=Deployment): .spec.template.spec.containers[name="airbyte-workload-api-server-container"].env: duplicate entries for key [name="AB_JWT_SIGNATURE_SECRET"]
the issue is the charts has duplicate entries for
AB_JWT_SIGNATURE_SECRET
env variable which is inside workload-api-server chart -> templates -> deployment.yaml:
Copy code
- name: WORKLOAD_API_BEARER_TOKEN
          valueFrom:
            secretKeyRef:
              name: {{ index .Values "workloadApi" "bearerTokenSecretName" | default (printf "%s-airbyte-secrets" .Release.Name ) }}
              key: {{ index .Values "workloadApi" "bearerTokenSecretKey" | default "WORKLOAD_API_BEARER_TOKEN" }}
        - name: AB_JWT_SIGNATURE_SECRET ---------------------------------------> First Entry here <----------------------------------------------------------------------
          valueFrom:
            secretKeyRef:
              name: {{ .Values.global.auth.secretName | default "airbyte-auth-secrets" | quote }}
              key: {{ .Values.global.auth.jwtSignatureSecretKey | default "jwt-signature-secret" | quote }}
        - name: MICRONAUT_ENVIRONMENTS
          valueFrom:
            configMapKeyRef:
              name: {{ .Release.Name }}-airbyte-env
              key: WORKERS_MICRONAUT_ENVIRONMENTS
        - name: AB_JWT_SIGNATURE_SECRET ---------------------------------------> Second Entry here <---------------------------------------------------------------------
          valueFrom:
            secretKeyRef:
              name: {{ .Values.global.auth.secretName | default "airbyte-auth-secrets" | quote }}
              key: {{ .Values.global.auth.jwtSignatureSecretKey | default "jwt-signature-secret" | quote }}
also, can anyone tell me how to disable the minio pod from deploying?
Copy code
NAME                                               READY   STATUS      RESTARTS      AGE
airbyte-airbyte-bootloader                         0/1     Completed   0             59s
airbyte-connector-builder-server-bd989b766-9vjpb   1/1     Running     0             46s
airbyte-cron-77b8f7b959-csj2j                      1/1     Running     0             46s
airbyte-minio-0                                    1/1     Running     0             58s
airbyte-server-5597bcc677-tljqs                    1/1     Running     0             46s
airbyte-temporal-777f5d8f9d-2xlql                  1/1     Running     0             46s
airbyte-webapp-57485945cf-blks8                    1/1     Running     0             46s
airbyte-worker-866d5ccd84-kqh8p                    1/1     Running     0             46s
airbyte-workload-api-server-7d8dc4db69-q97tf       1/1     Running     0             46s
airbyte-workload-launcher-58b87f5d68-4zrw2         1/1     Running     1 (28s ago)   46s
this is my helm values:
Copy code
global:
  metrics:
    otlp:
      collectorEndpoint: http://groundcover-alligator.groundcover.svc.cluster.local:4317
  airbyteUrl: "airbyte.dev.krd"

  auth:
    enabled: false
    instanceAdmin:
      secretName: "airbyte-secrets"
      firstName: "DevOps"
      lastName: "KRD"
      emailSecretKey: "email"
      passwordSecretKey: "password"
  jobs:
    resources:
      limits:
        memory: 1000Mi
      requests:
        cpu: 1000m
        memory: 1000Mi
  env_vars: {}

  database:
    secretName: "postgres-superuser"

    host: "cnpg-data-pipelines-postgres-rw.data-pipelines.svc.cluster.local"

    port: "5432"

    database: "airbyte"

  storage:
    storageSecretName: "airbyte-secrets"
    minio:
      accessKeyIdSecretKey: "ACCESS_KEY_ID"
      secretAccessKeySecretKey: "ACCESS_SECRET_KEY"
      endpoint: https://s3.dev.krd
      log: data-pipelines-dev
      state: data-pipelines-dev
      workloadOutput: data-pipelines-dev

webapp:
  enabled: true
  replicaCount: 1

  image:
    repository: airbyte/webapp
    pullPolicy: IfNotPresent

  podAnnotations: {}

  podLabels: {}

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true

  readinessProbe:
    enabled: true


  api:
    url: /api/v1/

  fullstory:
    enabled: false


server:
  enabled: true
  replicaCount: 1

  image:
    repository: airbyte/server
    pullPolicy: IfNotPresent

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true

  readinessProbe:
    enabled: true


worker:
  enabled: true
  replicaCount: 1

  image:
    repository: airbyte/worker
    pullPolicy: IfNotPresent

  podAnnotations: {}

  podLabels: {}

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true
  readinessProbe:
    enabled: true


workload-launcher:
  enabled: true
  replicaCount: 1

  image:
    repository: airbyte/workload-launcher
    pullPolicy: IfNotPresent

  podAnnotations: {}

  podLabels: {}

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault
airbyte-bootloader:
  enabled: true
  image:
    repository: airbyte/bootloader
    pullPolicy: IfNotPresent

  podAnnotations: {}

  podLabels: {}

  nodeSelector: {}

  tolerations: []

  resources:
    requests: {}
    limits: {}

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault
temporal:
  enabled: true
  replicaCount: 1

  image:
    repository: temporalio/auto-setup
    pullPolicy: IfNotPresent
    tag: "1.27.2"

  service:
    type: ClusterIP
    port: 7233

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault


postgresql:
  enabled: false

cron:
  enabled: true


  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true
  readinessProbe:
    enabled: true

connector-builder-server:
  enabled: true
  replicaCount: 1


  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true

  readinessProbe:
    enabled: true

workload-api-server:
  enabled: true

  bearerToken: token

  replicaCount: 1

  podSecurityContext:
    fsGroup: 1000

  containerSecurityContext:
    allowPrivilegeEscalation: false
    runAsNonRoot: true
    runAsUser: 1000
    runAsGroup: 1000
    readOnlyRootFilesystem: false
    capabilities:
      drop: ["ALL"]
    seccompProfile:
      type: RuntimeDefault

  livenessProbe:
    enabled: true

  readinessProbe:
    enabled: true

minio:
  enabled: false
I'm also getting this error from airbyte workload launcher:
Copy code
ERROR	i.a.a.c.a.DataplaneAccessTokenInterceptor(intercept):131 - Failed to obtain or add dataplane access token
java.net.SocketException: Operation not permitted
k
You are encountering two main issues: ### 1. Duplicate
AB_JWT_SIGNATURE_SECRET
Environment Variable This is a known bug in recent Airbyte Helm chart versions, where the
airbyte-workload-api-server
deployment template includes the
AB_JWT_SIGNATURE_SECRET
environment variable twice. This results in a Helm/Kubernetes error about duplicate entries for that key, which blocks deployment. - The issue has been reported and confirmed by multiple users and maintainers. There is an open [GitHub issue](https://github.com/airbytehq/airbyte/issues/58591) and a [pull request to fix it](https://github.com/airbytehq/airbyte-platform/pull/409), but as of the latest available information, the fix has not yet been merged or released in the Helm chart. - The error message you see matches exactly what others have reported:
Copy code
.spec.template.spec.containers[name="airbyte-workload-api-server-container"].env: duplicate entries for key [name="AB_JWT_SIGNATURE_SECRET"]
- As a temporary workaround, some users have suggested using a Kustomize patch to remove the duplicate entry, but this is not ideal for everyone. If you are blocked, you may need to wait for the official fix to be released in a future chart version, or apply a manual patch as described in the issue thread [here](https://github.com/airbytehq/airbyte/issues/58591). ### 2. Disabling the MinIO Pod You can disable the MinIO pod by setting
minio.enabled: false
in your Helm values file. You have already done this:
Copy code
yaml minio:   enabled: false
This is the correct way to prevent the MinIO pod from being deployed. If you still see the MinIO pod running after setting this value, ensure that: - You have applied the updated values file during your Helm upgrade/install. - There are no other charts or resources deploying MinIO in your namespace. ### 3. Dataplane Access Token Error The error:
Copy code
ERROR i.a.a.c.a.DataplaneAccessTokenInterceptor(intercept):131 - Failed to obtain or add dataplane access token java.net.SocketException: Operation not permitted
is mentioned in the knowledge sources, but there is no confirmed solution or root cause provided. One user reported deleting certain database tables and then being unable to recover, but no official fix or workaround is documented in the sources provided. If this persists after resolving the duplicate env issue, you may need to open a new issue or follow up on existing threads for more targeted help [source](https://github.com/airbytehq/airbyte/issues/58587). --- Summary: - The duplicate
AB_JWT_SIGNATURE_SECRET
env var is a known bug; a fix is pending merge ([source](https://github.com/airbytehq/airbyte/issues/58591)). - Disabling MinIO is done correctly with
minio.enabled: false
. - The dataplane access token error is not fully addressed in the knowledge sources. If you need to proceed urgently, consider applying a manual patch to remove the duplicate env var, as suggested in the linked GitHub issue. Otherwise, monitor the Helm chart releases for an official fix.