initial commit

This commit is contained in:
2022-10-10 17:36:40 -05:00
commit d91a4238cc
86 changed files with 4143 additions and 0 deletions

11
argocd/Chart.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v2
name: argocd
description: A Helm chart for Kubernetes
type: application
version: 0.0.1
appVersion: 0.0.1
dependencies:
- name: argo-cd
repository: https://argoproj.github.io/argo-helm
version: 5.5.18

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: internalproxy
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: internalproxy
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: internalproxy
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bitwarden
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: bitwarden
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: bitwarden
syncPolicy:
automated:
prune: true
selfHeal: false
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: cert-manager
destination:
namespace: cert-manager
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: durpot
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: durpot
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: durpot
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitlab-runner
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: gitlab-runner
destination:
namespace: gitlab-runner
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ingress-nginx
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: ingress-nginx
destination:
namespace: ingress-nginx
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: keycloak
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: keycloak
destination:
namespace: keycloak
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kong
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: kong
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: kong
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,21 @@
#apiVersion: argoproj.io/v1alpha1
#kind: Application
#metadata:
# name: kube-prometheus-stack
# namespace: argocd
#spec:
# project: default
# source:
# repoURL: https://github.com/DeveloperDurp/homelab.git
# targetRevision: main
# path: kube-prometheus-stack
# destination:
# namespace: kube-prometheus-stack
# name: in-cluster
# syncPolicy:
# automated:
# prune: true
# selfHeal: true
# syncOptions:
# - CreateNamespace=true
#

View File

@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: littlelink
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: littlelink
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: littlelink
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: longhorn-system
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: longhorn-system
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: longhorn-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nextcloud
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: nextcloud
destination:
namespace: nextcloud
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oauth2-proxy
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: oauth2-proxy
destination:
namespace: oauth2-proxy
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sealed-secrets
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: sealed-secrets
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: sealed-secrets
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: uptimekuma
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: uptimekuma
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: uptimekuma
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: whoogle
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/DeveloperDurp/homelab.git
targetRevision: main
path: whoogle
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: whoogle
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

182
argocd/values.yaml Normal file
View File

@@ -0,0 +1,182 @@
argocd:
image:
registry: docker.io
repository: bitnami/argo-cd
pullPolicy: Always
controller:
replicaCount: 3
startupProbe:
enabled: false
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
livenessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
resources:
limits: {}
requests: {}
service:
type: ClusterIP
port: 8082
server:
replicaCount: 3
startupProbe:
enabled: false
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
livenessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
resources:
limits: {}
requests: {}
url: "argocd.internal.durp.info"
## Argo CD server config. This object will be directly rendered
## @param server.config [object] Argo CD server configuration that will end on the argocd-cm Config Map
## Ref: https://argoproj.github.io/argo-cd/operator-manual/user-management/
## E.g:
## repositories:
## - url: git@github.com:group/repo.git
## sshPrivateKeySecret:
## name: secret-name
## key: sshPrivateKey
## - type: helm
## url: https://charts.helm.sh/stable
## name: stable
## - type: helm
## url: https://argoproj.github.io/argo-helm
## name: argo
## oidc.config:
## name: AzureAD
## issuer: https://login.microsoftonline.com/TENANT_ID/v2.0
## clientID: CLIENT_ID
## clientSecret: $oidc.azuread.clientSecret
## requestedIDTokenClaims:
## groups:
## essential: true
## requestedScopes:
## - openid
## - profile
## - email
## dex.config:
## connectors:
## # GitHub example
## - type: github
## id: github
## name: GitHub
## config:
## clientID: aabbccddeeff00112233
## clientSecret: $dex.github.clientSecret
## orgs:
## - name: your-github-org
config:
url: "{{ .Values.server.url }}"
application.instanceLabelKey: argocd.argoproj.io/instance
ingress:
enabled: true
pathType: ImplementationSpecific
hostname: argocd.internal.durp.info
path: /
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.0.0/16"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
tls:
- secretName: argocd-tls
hosts:
- argocd.internal.durp.info
repoServer:
replicaCount: 3
resources:
limits: {}
requests: {}
dex:
image:
registry: docker.io
repository: bitnami/dex
pullPolicy: Always
enabled: true
replicaCount: 3
resources:
limits: {}
requests: {}
config:
redis:
image:
registry: docker.io
repository: bitnami/redis
pullPolicy: Always
enabled: true
nameOverride: ""
service:
port: 6379
auth:
enabled: true
existingSecret: ""
existingSecretPasswordKey: 'redis-password'
architecture: standalone
redisWait:
enabled: true
extraArgs: ''
securityContext: {}