Compare commits
2 Commits
a7db8866c9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 310e73b30d | |||
| 3e24e0ec80 |
@@ -1,40 +1,41 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
#apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
#kind: IngressRoute
|
||||||
metadata:
|
#metadata:
|
||||||
name: octopus-ingress
|
# name: octopus-ingress
|
||||||
spec:
|
#spec:
|
||||||
entryPoints:
|
# entryPoints:
|
||||||
- websecure
|
# - websecure
|
||||||
routes:
|
# routes:
|
||||||
- match: Host(`octopus.durp.info`) && PathPrefix(`/`)
|
# - match: Host(`octopus.durp.info`) && PathPrefix(`/`)
|
||||||
kind: Rule
|
# kind: Rule
|
||||||
services:
|
# services:
|
||||||
- name: infra-cluster
|
# - name: infra-cluster
|
||||||
port: 443
|
# port: 443
|
||||||
tls:
|
# tls:
|
||||||
secretName: octopus-tls
|
# secretName: octopus-tls
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
apiVersion: cert-manager.io/v1
|
#apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
#kind: Certificate
|
||||||
metadata:
|
#metadata:
|
||||||
name: octopus-tls
|
# name: octopus-tls
|
||||||
spec:
|
#spec:
|
||||||
issuerRef:
|
# issuerRef:
|
||||||
name: letsencrypt-production
|
# name: letsencrypt-production
|
||||||
kind: ClusterIssuer
|
# kind: ClusterIssuer
|
||||||
secretName: octopus-tls
|
# secretName: octopus-tls
|
||||||
commonName: "octopus.durp.info"
|
# commonName: "octopus.durp.info"
|
||||||
dnsNames:
|
# dnsNames:
|
||||||
- "octopus.durp.info"
|
# - "octopus.durp.info"
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
kind: Service
|
#kind: Service
|
||||||
apiVersion: v1
|
#apiVersion: v1
|
||||||
metadata:
|
#metadata:
|
||||||
name: octopus-external-dns
|
# name: octopus-external-dns
|
||||||
annotations:
|
# annotations:
|
||||||
external-dns.alpha.kubernetes.io/hostname: octopus.durp.info
|
# external-dns.alpha.kubernetes.io/hostname: octopus.durp.info
|
||||||
spec:
|
#spec:
|
||||||
type: ExternalName
|
# type: ExternalName
|
||||||
externalName: durp.info
|
# externalName: durp.info
|
||||||
|
#
|
||||||
@@ -1,42 +1,43 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
#apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
#kind: Application
|
||||||
metadata:
|
#metadata:
|
||||||
name: octopusdeploy
|
# name: octopusdeploy
|
||||||
namespace: argocd
|
# namespace: argocd
|
||||||
spec:
|
#spec:
|
||||||
project: default
|
# project: default
|
||||||
source:
|
# source:
|
||||||
repoURL: https://gitlab.com/developerdurp/homelab.git
|
# repoURL: https://gitlab.com/developerdurp/homelab.git
|
||||||
targetRevision: main
|
# targetRevision: main
|
||||||
path: infra/octopusdeploy
|
# path: infra/octopusdeploy
|
||||||
destination:
|
# destination:
|
||||||
namespace: octopusdeploy
|
# namespace: octopusdeploy
|
||||||
name: in-cluster
|
# name: in-cluster
|
||||||
syncPolicy:
|
# syncPolicy:
|
||||||
automated:
|
# automated:
|
||||||
prune: true
|
# prune: true
|
||||||
selfHeal: true
|
# selfHeal: true
|
||||||
syncOptions:
|
# syncOptions:
|
||||||
- CreateNamespace=true
|
# - CreateNamespace=true
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
#apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
#kind: Application
|
||||||
metadata:
|
#metadata:
|
||||||
name: octopusdeploy-agent
|
# name: octopusdeploy-agent
|
||||||
namespace: argocd
|
# namespace: argocd
|
||||||
spec:
|
#spec:
|
||||||
project: default
|
# project: default
|
||||||
source:
|
# source:
|
||||||
repoURL: https://gitlab.com/developerdurp/homelab.git
|
# repoURL: https://gitlab.com/developerdurp/homelab.git
|
||||||
targetRevision: main
|
# targetRevision: main
|
||||||
path: infra/octopus-agent
|
# path: infra/octopus-agent
|
||||||
destination:
|
# destination:
|
||||||
namespace: octopus-agent
|
# namespace: octopus-agent
|
||||||
name: in-cluster
|
# name: in-cluster
|
||||||
syncPolicy:
|
# syncPolicy:
|
||||||
automated:
|
# automated:
|
||||||
prune: true
|
# prune: true
|
||||||
selfHeal: true
|
# selfHeal: true
|
||||||
syncOptions:
|
# syncOptions:
|
||||||
- CreateNamespace=true
|
# - CreateNamespace=true
|
||||||
|
#
|
||||||
Reference in New Issue
Block a user