Compare commits

..

3 Commits

Author SHA1 Message Date
Rob Watson
1675199abd Update Gitea > 1.90.0 2023-03-21 02:44:07 +01:00
Rob Watson
ab1a5441c8 Config updates 2023-03-21 02:37:42 +01:00
Rob Watson
ec4bfc39fb grafana: Add Go dashboard 2023-01-14 09:38:00 +01:00
7 changed files with 30 additions and 7 deletions

View File

@ -55,3 +55,9 @@ kubectl apply -f cert-manager/issuer-production.yml
This should be sufficient for cert-manager to issue certificates automatically when the
`tls.enabled` value is set to `true`.
### Manual installations
The following installations are not defined in this repo.
- Telepresence [link](https://www.telepresence.io/docs/latest/quick-start/)

View File

@ -74,6 +74,8 @@ spec:
configMapKeyRef:
name: drone-config
key: logs-debug
- name: DRONE_MAX_POOL_SIZE
value: "1"
resources:
requests:
memory: "32Mi"

View File

@ -58,6 +58,15 @@ data:
| sed '/-- .* --/! s/"datasource":.*,/"datasource": "Prometheus",/g' \
> "/var/lib/grafana/dashboards/default/gitea.json"
curl -skf \
--connect-timeout 60 \
--max-time 60 \
-H "Accept: application/json" \
-H "Content-Type: application/json;charset=UTF-8" \
"https://grafana.com/api/dashboards/6671/revisions/2/download" \
| sed '/-- .* --/! s/"datasource":.*,/"datasource": "Prometheus",/g' \
> "/var/lib/grafana/dashboards/default/go.json"
curl -skf \
--connect-timeout 60 \
--max-time 60 \

View File

@ -26,7 +26,7 @@ spec:
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: grafana
annotations:
checksum/config: 60be875675b2ad83279ee347d5a150559b24646f43fbc740f51b97915a0b9c31
checksum/config: 6cfd9cde9e064705ef04cb503eaf1ec3f1d9ddcd7587d64e86513af5ca827e2c
checksum/dashboards-json-config: 703b33634d715cefba0501f04654c5d6dc28aba46888183ea3420ccdae3c8ecf
checksum/sc-dashboard-provider-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
spec:

View File

@ -30,7 +30,7 @@ spec:
runAsGroup: 1000
initContainers:
- name: init-gitea
image: gitea/gitea:1.18.0-rootless
image: gitea/gitea:1.19.0-rootless
imagePullPolicy: IfNotPresent
command: ["/usr/sbin/init-directory-structure.sh"]
env:
@ -53,7 +53,7 @@ spec:
subPath: init-directory-structure.sh
name: scripts
- name: setup-gitea
image: gitea/gitea:1.18.0-rootless
image: gitea/gitea:1.19.0-rootless
imagePullPolicy: IfNotPresent
command: ["/usr/sbin/setup.sh"]
env:
@ -97,7 +97,7 @@ spec:
readOnlyRootFilesystem: true
containers:
- name: gitea
image: gitea/gitea:1.18.0-rootless
image: gitea/gitea:1.19.0-rootless
imagePullPolicy: Always
ports:
- name: http

View File

@ -54,3 +54,7 @@ dashboards:
gnetId: 10046
revision: 1
datasource: Prometheus
go:
gnetId: 6671
revision: 2
datasource: Prometheus

View File

@ -9,9 +9,11 @@ spec:
privateKeySecretRef:
name: prod-letsencrypt
solvers:
- http01:
ingress:
class: prod-nginx
# HTTP solver disabled for wildcard support.
# TODO: consider reenabling
# - http01:
# ingress:
# class: prod-nginx
- dns01:
route53:
region: eu-west-1