7 Commits
1.1.9 ... 1.2.0

Author SHA1 Message Date
ducoterra
1a92c0bb16 consolidate traefik 2020-12-11 17:15:53 -05:00
ducoterra
8d788aaf25 update to correct registry 2020-09-18 09:43:46 -04:00
ducoterra
e9dc6a284a add http 2020-09-17 20:49:53 -04:00
ducoterra
156ec87493 update hub address 2020-09-17 20:47:46 -04:00
ducoterra
16810bf7fd remove pihole + pi glances 2020-09-01 10:48:23 -04:00
ducoterra
6e8c4d6998 fix another https issue 2020-08-17 15:13:19 -04:00
ducoterra
2b4ca7a64a fix http 2020-08-17 15:10:57 -04:00
3 changed files with 31 additions and 41 deletions

View File

@@ -19,7 +19,6 @@ build:
script:
- echo $DEPLOY
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
deploy_to_prod:
variables:
DEPLOY: prod

View File

@@ -63,24 +63,14 @@ services:
url: "https://monitor.ducoterra.net/"
tag: "Monitoring"
target: '_blank'
- name: "Red"
logo: "assets/tools/glances.png"
url: "https://monitor.ducoterra.net/"
tag: "Monitoring"
target: '_blank'
- name: "Grey"
logo: "assets/tools/glances.png"
url: "https://monitor.ducoterra.net/"
tag: "Monitoring"
target: '_blank'
- name: "Purple"
logo: "assets/tools/glances.png"
url: "https://monitor.ducoterra.net/"
tag: "Monitoring"
target: '_blank'
- name: "Network"
icon: "fas fa-server"
items:
- name: "Traefik"
logo: assets/tools/traefik.png
tag: "Network"
url: "https://traefik.ducoterra.net/"
target: '_blank'
- name: "Unifi"
logo: assets/tools/unifi.png
tag: "Network"
@@ -91,18 +81,3 @@ services:
tag: "Network"
url: "https://protect.ui.com/"
target: '_blank'
- name: "Traefik Internal"
logo: assets/tools/traefik.png
tag: "Network"
url: "https://traefik-internal.ducoterra.net/"
target: '_blank'
- name: "Traefik External"
logo: assets/tools/traefik.png
tag: "Network"
url: "https://traefik-external.ducoterra.net/"
target: '_blank'
- name: "Pihole"
logo: assets/tools/pihole.svg
tag: "Network"
url: "https://pihole.ducoterra.net/admin/"
target: '_blank'

View File

@@ -1,31 +1,29 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: {{ .Release.Name }}-internal-tls
name: {{ .Release.Name }}-tls
annotations:
kubernetes.io/ingress.class: traefik-internal
kubernetes.io/ingress.class: traefik
spec:
entryPoints:
- websecure
tls:
certResolver: myresolver
domains:
- main: "*.ducoterra.net"
certResolver: duconet
routes:
- match: Host(`{{ .Release.Name }}.ducoterra.net`)
kind: Rule
services:
- name: {{ .Release.Name }}
port: 8080
middlewares:
- name: basic-auth-{{ .Release.Name }}
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: {{ .Release.Name }}-internal-web
name: {{ .Release.Name }}
annotations:
kubernetes.io/ingress.class: traefik-internal
kubernetes.io/ingress.class: traefik
spec:
entryPoints:
- web
@@ -36,4 +34,22 @@ spec:
- name: {{ .Release.Name }}
port: 8080
middlewares:
- name: httpsredirect
- name: httpsredirect-{{ .Release.Name }}
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: httpsredirect-{{ .Release.Name }}
spec:
redirectScheme:
scheme: https
permanent: true
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: basic-auth-{{ .Release.Name }}
spec:
basicAuth:
secret: authsecret
removeHeader: true