current setup
This commit is contained in:
1 parent
21ad6d26d3
commit
be38a619fb
7 files changed
+43
-28
No files matched your search
@@ -16,6 +16,8 @@ services:
|
||||
# Overrides default command so things don't shut down after the process ends.
|
||||
entrypoint: /usr/local/share/docker-init.sh
|
||||
command: sleep infinity
|
||||
environment:
|
||||
- KUBE_EDITOR="code -w"
|
||||
# Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust.
|
||||
# cap_add:
|
||||
# - SYS_PTRACE
|
||||
|
||||
+3
-1
@@ -11,7 +11,8 @@ helm install argocd k8s/argocd \
|
||||
--namespace argocd \
|
||||
--create-namespace \
|
||||
--values k8s/argocd/values.yaml \
|
||||
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)"
|
||||
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)" \
|
||||
--set selfapp.deployment=dev
|
||||
|
||||
watch -n1 "kubectl -n argocd get all"
|
||||
|
||||
@@ -24,4 +25,5 @@ helm upgrade argocd k8s/argocd \
|
||||
--create-namespace \
|
||||
--values k8s/argocd/values.yaml \
|
||||
--set selfapp.enabled="true" \
|
||||
--set selfapp.deployment=dev \
|
||||
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)"
|
||||
@@ -4,5 +4,6 @@ helm upgrade argocd k8s/argocd \
|
||||
--namespace argocd \
|
||||
--create-namespace \
|
||||
--values k8s/argocd/values.yaml \
|
||||
--set selfapp.deployment=dev \
|
||||
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)" \
|
||||
--set selfapp.enabled="true"
|
||||
@@ -12,6 +12,9 @@ spec:
|
||||
targetRevision: "{{ .Values.selfapp.commit }}"
|
||||
path: k8s/argocd
|
||||
helm:
|
||||
valuesFiles:
|
||||
- values.yaml
|
||||
- values-{{ .Values.selfapp.deployment }}.yaml
|
||||
values: |
|
||||
selfapp: {{ .Values.selfapp | toYaml | nindent 10 }}
|
||||
parameters:
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: argocd-server
|
||||
namespace: argocd
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`argocd.{{ .Values.selfapp.domain }}`)
|
||||
priority: 10
|
||||
services:
|
||||
- name: argocd-server
|
||||
port: 80
|
||||
- kind: Rule
|
||||
match: Host(`argocd.{{ .Values.selfapp.domain }}`) && Headers(`Content-Type`, `application/grpc`)
|
||||
priority: 11
|
||||
services:
|
||||
- name: argocd-server
|
||||
port: 80
|
||||
scheme: h2c
|
||||
tls:
|
||||
certResolver: default
|
||||
# ---
|
||||
# apiVersion: traefik.containo.us/v1alpha1
|
||||
# kind: IngressRoute
|
||||
# metadata:
|
||||
# name: argocd-server
|
||||
# namespace: argocd
|
||||
# spec:
|
||||
# entryPoints:
|
||||
# - websecure
|
||||
# routes:
|
||||
# - kind: Rule
|
||||
# match: Host(`argocd.{{ .Values.selfapp.domain }}`)
|
||||
# priority: 10
|
||||
# services:
|
||||
# - name: argocd-server
|
||||
# port: 80
|
||||
# - kind: Rule
|
||||
# match: Host(`argocd.{{ .Values.selfapp.domain }}`) && Headers(`Content-Type`, `application/grpc`)
|
||||
# priority: 11
|
||||
# services:
|
||||
# - name: argocd-server
|
||||
# port: 80
|
||||
# scheme: h2c
|
||||
# tls:
|
||||
# certResolver: default
|
||||
@@ -0,0 +1,3 @@
|
||||
selfapp:
|
||||
deployment: dev
|
||||
domain: "me.local"
|
||||
@@ -4,9 +4,13 @@ argo-cd:
|
||||
keep: false
|
||||
server:
|
||||
ingress:
|
||||
enabled: false
|
||||
https: true
|
||||
enabled: true
|
||||
paths:
|
||||
- "/argocd"
|
||||
ingressGrpc:
|
||||
enabled: true
|
||||
selfapp:
|
||||
commit: "stable"
|
||||
repo: "asosnovsky/homelab"
|
||||
sshkey: ""
|
||||
domain: "sosnovsky.ca"
|
||||
Reference in new issue
Block a user