Title
f

fresh-needle-39087

02/10/2023, 9:02 AM
Huh, I'm a bit lost. I'm deploying Netmaker through the Helm chart using ArgoCD:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: netmaker
  namespace: argocd
spec:
  project: management
  source:
    repoURL: https://gravitl.github.io/netmaker-helm/
    chart: netmaker
    targetRevision: 0.3.4
    helm:
      parameters:
        - name: baseDomain
          value: "nm.xxx.com"
        - name: replicas
          value: "3"
        - name: ingress.enabled
          value: "true"
        - name: ingress.className
          value: "nginx"
        - name: ingress.tls.issuerName
          value: "letsencrypt-production"
        - name: RWXStorageClassName
          value: xxx-filesystem-rc-delete
        - name: SQL_HOST
          value: netmaker-postgresql-ha-postgresql                             
        - name: postgresql-ha.postgresql.replicaCount
          value: "2"
  destination:
    server: https://kubernetes.default.svc
    namespace: netmaker
  syncPolicy:
    automated:
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - ApplyOutOfSyncOnly=true
      - ServerSideApply=true
In the list of applied parameters in ArgoCD, SQL_HOST=netmaker-postgresql-ha-postgresql shows up, but even then, the value is not applied to the StatefulSet:
- name: SQL_HOST
            - name: SQL_PORT
              value: '5432'