http:
  http://argo-cd-server:{{ .Vars.server.service.ports.http }}:
    status: 307
    no-follow-redirects: true
  http://argo-cd-app-controller:{{ .Vars.controller.service.port }}/healthz:
    status: 200
addr:
  tcp://argo-cd-repo-server:{{ .Vars.repoServer.service.port }}:
    reachable: true
file:
  /app/config/ssh:
    exists: true
    filetype: directory
    mode: "2777"
    owner: root
  /app/config/server/tls:
    exists: true
    filetype: directory
    mode: "3777"
    owner: root
  /var/run/secrets/kubernetes.io/serviceaccount:
    exists: {{ .Vars.server.serviceAccount.automountServiceAccountToken }}
    filetype: directory
    mode: "3777"
command:
  {{- $password := .Vars.server.secret.argocdServerAdminPassword }}
  check-argocd-cli:
    exec: argocd login argo-cd-server --insecure --username admin --password {{ $password }}
    exit-status: 0
  check-no-capabilities:
    exec: cat /proc/1/status
    exit-status: 0
    stdout:
    - "CapInh:	0000000000000000"
    - "CapPrm:	0000000000000000"
    - "CapEff:	0000000000000000"
    - "CapBnd:	0000000000000000"
    - "CapAmb:	0000000000000000"
  check-user-info:
    exec: id
    exit-status: 0
    stdout:
    - uid={{ .Vars.server.containerSecurityContext.runAsUser }}
    - /groups=.*{{ .Vars.server.podSecurityContext.fsGroup }}/
