-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#34: Exposing ArgoCD server and dashboard also as Traefik IngressRout…
…e. Therefore refactoring the ArgoCD installation to use Kustomize in order to configure argocd-server to not terminate TLS and instead hand that over to Traefik (see https://stackoverflow.com/a/71692892/4964553)
- Loading branch information
1 parent
dfee47f
commit a5ac446
Showing
7 changed files
with
198 additions
and
34 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: argocd-cmd-params-cm | ||
data: | ||
server.insecure: "true" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.3.3/manifests/install.yaml | ||
|
||
## changes to config maps | ||
patchesStrategicMerge: | ||
- argocd-cmd-params-cm-patch.yml | ||
|
||
namespace: argocd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: argocd-server | ||
namespace: argocd | ||
spec: | ||
entryPoints: | ||
- websecure | ||
routes: | ||
- kind: Rule | ||
match: Host(`argocd.tekton-argocd.de`) | ||
priority: 10 | ||
services: | ||
- name: argocd-server | ||
port: 80 | ||
- kind: Rule | ||
match: Host(`argocd.tekton-argocd.de`) && Headers(`Content-Type`, `application/grpc`) | ||
priority: 11 | ||
services: | ||
- name: argocd-server | ||
port: 80 | ||
scheme: h2c | ||
tls: | ||
certResolver: default |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.