apiVersion: apps/v1
kind: Deployment
metadata:
  name: argo-server
  namespace: argo
spec:
  template:
    spec:
      containers:
        - name: argo-server
          readinessProbe:
            httpGet:
              path: /
              port: 2746
              scheme: HTTP
          env:
            - name: BASE_HREF
              value: "/argo-workflows/"
          args:
            - server
            - --configmap=workflow-controller-configmap
            - --auth-mode=client
            - --auth-mode=sso
            - "--secure=false"
            - "--loglevel"
            - "info"
            - "--log-format"
            - "text"