# Duplicates the Helm-controlled service in front of the Argo CD server so it
# has a fixed name (`argocd-server`) that we can reference from the Ingress.
apiVersion: v1
kind: Service
metadata:
  name: argocd-server
  namespace: argocd
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: server
  - name: https
    port: 443
    protocol: TCP
    targetPort: server
  selector:
    app.kubernetes.io/name: argocd-server
  type: ClusterIP
