14 Commits
1.1.4 ... 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
ducoterra
5a1e697c0a add pihole.ducoterra.net and multiple glances 2020-08-17 15:07:59 -04:00
ducoterra
a370768b90 add pgadmin 2020-08-12 12:18:33 -04:00
ducoterra
8507515e56 change temp to monitor: 2020-07-10 12:37:09 -04:00
ducoterra
b66575bd29 switch freenas to http 2020-06-27 11:13:55 -04:00
ducoterra
cb71286c1e add glances 2020-06-27 11:12:39 -04:00
ducoterra
9c8774527f Merge branch 'master' of gitlab.ducoterra.net:services/homer 2020-06-15 21:33:48 -04:00
ducoterra
e0e90aa291 add tag to values 2020-06-15 21:33:42 -04:00
8 changed files with 47 additions and 44 deletions

View File

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

View File

@@ -3,5 +3,5 @@
## Deploy ## Deploy
```bash ```bash
helm template homer --set tag=1.1.1 ./helm | kubectl apply -f - helm install homer ./helm
``` ```

BIN
assets/tools/glances.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
assets/tools/pgadmin.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -6,7 +6,7 @@ footer: false
links: [] # Allows for navbar (dark mode, layout, and search) without any links links: [] # Allows for navbar (dark mode, layout, and search) without any links
services: services:
- name: "DevOps" - name: "DevSecOps"
icon: "fas fa-code-branch" icon: "fas fa-code-branch"
items: items:
- name: "Gitlab" - name: "Gitlab"
@@ -14,6 +14,11 @@ services:
tag: "CI" tag: "CI"
url: "https://gitlab.ducoterra.net/" url: "https://gitlab.ducoterra.net/"
target: '_blank' target: '_blank'
- name: "pgAdmin"
logo: "assets/tools/pgadmin.ico"
tag: "CI"
url: "https://pgadmin.ducoterra.net/"
target: '_blank'
- name: "Storage" - name: "Storage"
icon: "fas fa-save" icon: "fas fa-save"
items: items:
@@ -25,7 +30,7 @@ services:
- name: "Freenas" - name: "Freenas"
logo: "assets/tools/freenas.png" logo: "assets/tools/freenas.png"
tag: "Storage" tag: "Storage"
url: "https://freenas.ducoterra.net/" url: "http://freenas.ducoterra.net/"
target: '_blank' target: '_blank'
- name: "Entertainment" - name: "Entertainment"
icon: "fas fa-photo-video" icon: "fas fa-photo-video"
@@ -53,9 +58,19 @@ services:
url: "https://zipkin.ducoterra.net/" url: "https://zipkin.ducoterra.net/"
tag: "Monitoring" tag: "Monitoring"
target: '_blank' target: '_blank'
- name: "Mainframe"
logo: "assets/tools/glances.png"
url: "https://monitor.ducoterra.net/"
tag: "Monitoring"
target: '_blank'
- name: "Network" - name: "Network"
icon: "fas fa-server" icon: "fas fa-server"
items: items:
- name: "Traefik"
logo: assets/tools/traefik.png
tag: "Network"
url: "https://traefik.ducoterra.net/"
target: '_blank'
- name: "Unifi" - name: "Unifi"
logo: assets/tools/unifi.png logo: assets/tools/unifi.png
tag: "Network" tag: "Network"
@@ -65,32 +80,4 @@ services:
logo: assets/tools/protect.ico logo: assets/tools/protect.ico
tag: "Network" tag: "Network"
url: "https://protect.ui.com/" 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: "Pihole1"
logo: assets/tools/pihole.svg
tag: "Network"
url: "https://pihole1.ducoterra.net/admin/"
target: '_blank'
- name: "Pihole2"
logo: assets/tools/pihole.svg
tag: "Network"
url: "https://pihole2.ducoterra.net/admin/"
target: '_blank'
- name: "Tools"
icon: "fas fa-wrench"
items:
- name: "SVG Editor"
icon: "fas fa-icons"
tag: "Tools"
url: "https://svg-edit.github.io/svgedit/editor/svg-editor.html"
target: '_blank' target: '_blank'

View File

@@ -3,7 +3,7 @@ version: '3'
services: services:
homer: homer:
build: . build: .
image: hub.ducoterra.net/ducoterra/homer:1.0.0 image: hub.ducoterra.net/ducoterra/homer:1.0.2
ports: ports:
- 8080:8080 - 8080:8080
volumes: volumes:

View File

@@ -1,31 +1,29 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: {{ .Release.Name }}-internal-tls name: {{ .Release.Name }}-tls
annotations: annotations:
kubernetes.io/ingress.class: traefik-internal kubernetes.io/ingress.class: traefik
spec: spec:
entryPoints: entryPoints:
- websecure - websecure
tls: tls:
certResolver: myresolver certResolver: duconet
domains:
- main: "*.ducoterra.net"
routes: routes:
- match: Host(`{{ .Release.Name }}.ducoterra.net`) - match: Host(`{{ .Release.Name }}.ducoterra.net`)
kind: Rule kind: Rule
services: services:
- name: {{ .Release.Name }} - name: {{ .Release.Name }}
port: 8080 port: 8080
middlewares:
- name: basic-auth-{{ .Release.Name }}
--- ---
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: {{ .Release.Name }}-internal-web name: {{ .Release.Name }}
annotations: annotations:
kubernetes.io/ingress.class: traefik-internal kubernetes.io/ingress.class: traefik
spec: spec:
entryPoints: entryPoints:
- web - web
@@ -36,4 +34,22 @@ spec:
- name: {{ .Release.Name }} - name: {{ .Release.Name }}
port: 8080 port: 8080
middlewares: 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

View File

@@ -1 +1,2 @@
image: hub.ducoterra.net/ducoterra/homer image: hub.ducoterra.net/ducoterra/homer
tag: 1.1.5