Created
October 4, 2020 04:41
-
-
Save avillela/a78e0422db4f5257e6f523b37bafe1dd to your computer and use it in GitHub Desktop.
ArgoCD Ambassador Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: getambassador.io/v2 | |
kind: Host | |
metadata: | |
name: wildstar | |
namespace: ambassador | |
spec: | |
hostname: "*" | |
selector: | |
matchLabels: | |
hostname: wildcard | |
acmeProvider: | |
authority: none | |
tlsSecret: | |
name: ambassador-certs | |
requestPolicy: | |
insecure: | |
action: Redirect | |
additionalPort: 8080 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app.kubernetes.io/component: server | |
app.kubernetes.io/name: argocd-server | |
app.kubernetes.io/part-of: argocd | |
name: argocd-server | |
namespace: argocd | |
spec: | |
selector: | |
matchLabels: | |
app.kubernetes.io/name: argocd-server | |
template: | |
metadata: | |
labels: | |
app.kubernetes.io/name: argocd-server | |
spec: | |
containers: | |
- command: | |
- argocd-server | |
- --staticassets | |
- /shared/app | |
- --insecure | |
- --rootpath | |
- /argo-cd | |
image: argoproj/argocd:v1.7.6 | |
imagePullPolicy: Always | |
livenessProbe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
initialDelaySeconds: 3 | |
periodSeconds: 30 | |
name: argocd-server | |
ports: | |
- containerPort: 8080 | |
- containerPort: 8083 | |
readinessProbe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
initialDelaySeconds: 3 | |
periodSeconds: 30 | |
volumeMounts: | |
- mountPath: /app/config/ssh | |
name: ssh-known-hosts | |
- mountPath: /app/config/tls | |
name: tls-certs | |
serviceAccountName: argocd-server | |
volumes: | |
- emptyDir: {} | |
name: static-files | |
- configMap: | |
name: argocd-ssh-known-hosts-cm | |
name: ssh-known-hosts | |
- configMap: | |
name: argocd-tls-certs-cm | |
name: tls-certs | |
--- | |
apiVersion: getambassador.io/v2 | |
kind: Mapping | |
metadata: | |
name: argocd-server | |
namespace: argocd | |
spec: | |
prefix: /argo-cd | |
rewrite: /argo-cd | |
service: argocd-server:443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment