Compare commits
No commits in common. "c2c5aff42f4bc9020b4b53e4ece6d5022cf465e4" and "5e30ff4c2adc4796676044a39923247a2ad3ed27" have entirely different histories.
c2c5aff42f
...
5e30ff4c2a
|
@ -36,8 +36,6 @@ spec:
|
||||||
value: repo.wiki
|
value: repo.wiki
|
||||||
- name: GITEA__REPOSITORY__DEFAULT_REPO_UNITS
|
- name: GITEA__REPOSITORY__DEFAULT_REPO_UNITS
|
||||||
value: repo.code,repo.releases
|
value: repo.code,repo.releases
|
||||||
- name: GITEA__WEBHOOK_ALLOWED_HOST_LIST
|
|
||||||
value: ${DRONE_EXTERNAL_HOST}
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 3000
|
containerPort: 3000
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: grafana-agent-wal-pvc
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
|
@ -1,5 +1,6 @@
|
||||||
resources:
|
resources:
|
||||||
- https://raw.githubusercontent.com/grafana/agent/v0.24.2/production/kubernetes/agent-bare.yaml
|
- https://raw.githubusercontent.com/grafana/agent/v0.24.2/production/kubernetes/agent-bare.yaml
|
||||||
|
- grafana-agent-volume.yaml
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: grafana-agent
|
- name: grafana-agent
|
||||||
|
|
|
@ -29,13 +29,12 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: GF_SERVER_DOMAIN
|
- name: GF_SERVER_DOMAIN
|
||||||
value: ${GRAFANA_EXTERNAL_HOST}
|
value: ${GRAFANA_EXTERNAL_HOST}
|
||||||
- name: GF_SERVER_ROOT_URL
|
|
||||||
value: https://${GRAFANA_EXTERNAL_HOST}/
|
|
||||||
# - name: GF_AUTH_ANONYMOUS_ENABLED
|
# - name: GF_AUTH_ANONYMOUS_ENABLED
|
||||||
# value: "true"
|
# value: "true"
|
||||||
- name: GF_INSTALL_PLUGINS
|
- name: GF_INSTALL_PLUGINS
|
||||||
value: marcusolsson-json-datasource,marcusolsson-treemap-panel
|
value: marcusolsson-json-datasource,marcusolsson-treemap-panel
|
||||||
args: ['--config', '/etc/grafana/provisioning/config/custom.ini']
|
- name: GF_FEATURE_TOGGLES_ENABLE
|
||||||
|
value: ngalert
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -67,17 +66,12 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: grafana-datasources
|
- name: grafana-datasources
|
||||||
mountPath: /etc/grafana/provisioning/datasources
|
mountPath: /etc/grafana/provisioning/datasources
|
||||||
- name: grafana-config
|
|
||||||
mountPath: /etc/grafana/provisioning/config
|
|
||||||
- mountPath: /var/lib/grafana
|
- mountPath: /var/lib/grafana
|
||||||
name: grafana-pv
|
name: grafana-pv
|
||||||
volumes:
|
volumes:
|
||||||
- name: grafana-datasources
|
- name: grafana-datasources
|
||||||
configMap:
|
configMap:
|
||||||
name: grafana-datasources
|
name: grafana-datasources
|
||||||
- name: grafana-config
|
|
||||||
secret:
|
|
||||||
secretName: grafana-config
|
|
||||||
- name: grafana-pv
|
- name: grafana-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: grafana-pvc
|
claimName: grafana-pvc
|
||||||
|
|
|
@ -7,12 +7,6 @@ configMapGenerator:
|
||||||
files:
|
files:
|
||||||
- datasources.yaml=provision/datasources.yaml
|
- datasources.yaml=provision/datasources.yaml
|
||||||
|
|
||||||
secretGenerator:
|
|
||||||
- name: grafana-config
|
|
||||||
type: Opaque
|
|
||||||
literals:
|
|
||||||
- custom.ini=
|
|
||||||
|
|
||||||
# secretGenerator:
|
# secretGenerator:
|
||||||
# - name: postgres-credentials
|
# - name: postgres-credentials
|
||||||
# type: Opaque
|
# type: Opaque
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
repo: https://charts.longhorn.io
|
repo: https://charts.longhorn.io
|
||||||
chart: longhorn
|
chart: longhorn
|
||||||
version: 1.3.0
|
version: 1.2.4
|
||||||
targetNamespace: longhorn-system
|
targetNamespace: longhorn-system
|
||||||
set:
|
set:
|
||||||
backupTargetCredentialSecret: s3-backupstore-credentials
|
backupTargetCredentialSecret: s3-backupstore-credentials
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
||||||
backupTarget: s3://longhorn-backups@home/
|
backupTarget: s3://longhorn-backups@home/
|
||||||
defaultReplicaCount: 2
|
defaultReplicaCount: 2
|
||||||
defaultDataLocality: best-effort
|
defaultDataLocality: best-effort
|
||||||
replicaAutoBalance: least-effort
|
replicaAutoBalance: best-effort
|
||||||
taintToleration: "kubernetes.io/arch:"
|
taintToleration: "kubernetes.io/arch:"
|
||||||
longhornManager:
|
longhornManager:
|
||||||
tolerations:
|
tolerations:
|
||||||
|
|
|
@ -7,6 +7,6 @@ spec:
|
||||||
cron: "0 8 * * 2"
|
cron: "0 8 * * 2"
|
||||||
task: "backup"
|
task: "backup"
|
||||||
groups:
|
groups:
|
||||||
- backup
|
- default
|
||||||
retain: 2
|
retain: 2
|
||||||
concurrency: 1
|
concurrency: 1
|
|
@ -30,10 +30,6 @@ spec:
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- amd64
|
- amd64
|
||||||
tolerations:
|
|
||||||
- key: kubernetes.io/arch
|
|
||||||
operator: Equal
|
|
||||||
value: amd64
|
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: nextcloud
|
image: nextcloud
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[auth.generic_oauth]
|
|
||||||
enabled = true
|
|
||||||
allow_sign_up = false
|
|
||||||
client_id = 5yCpX9YovdrEuBpy69438S8GzCUJZLxqFl4rOcIpjBHICRpJzjv56VMxslKj7iqm
|
|
||||||
client_secret = ${ssm:/k3s/prod/nextcloud/oidc/grafana/client_secret}
|
|
||||||
scopes = openid profile email
|
|
||||||
auth_url = https://cloud.badjware.dev/apps/oidc/authorize
|
|
||||||
token_url = https://cloud.badjware.dev/apps/oidc/token
|
|
||||||
api_url = https://cloud.badjware.dev/apps/oidc/userinfo
|
|
|
@ -5,31 +5,33 @@ bases:
|
||||||
- ../../namespaces/monitoring
|
- ../../namespaces/monitoring
|
||||||
- ../../namespaces/nextcloud
|
- ../../namespaces/nextcloud
|
||||||
|
|
||||||
# resources:
|
resources:
|
||||||
# - probes/external-services-bobcat-miner.yaml
|
- probes/external-services-bobcat-miner.yaml
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: gitea/gitea
|
- name: gitea/gitea
|
||||||
newTag: 1.16.9
|
newTag: 1.15.7
|
||||||
- name: grafana/grafana
|
- name: grafana/grafana
|
||||||
newTag: 9.0.4
|
newTag: 8.5.3
|
||||||
# - name: prom/node-exporter
|
- name: prom/node-exporter
|
||||||
# newTag: v0.18.1
|
newTag: v0.18.1
|
||||||
- name: prom/blackbox-exporter
|
- name: prom/blackbox-exporter
|
||||||
newName: badjware/blackbox-exporter-tweak
|
newName: badjware/blackbox-exporter-tweak
|
||||||
newTag: 0.21.1
|
newTag: 0.19.0-1
|
||||||
- name: drone/drone
|
- name: drone/drone
|
||||||
newTag: 2.7.0
|
newTag: 2.7.0
|
||||||
- name: drone/drone-runner-kube
|
- name: drone/drone-runner-kube
|
||||||
newTag: 1.0.0-rc.2
|
newTag: 1.0.0-rc.2
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
newName: badjware/nextcloud-tweak
|
newName: badjware/nextcloud-tweak
|
||||||
newTag: 24.0.3
|
newTag: 22.2.3-3
|
||||||
- name: postgres
|
- name: postgres
|
||||||
newTag: 9.6.23
|
newTag: 9.6.23
|
||||||
- name: redis
|
- name: redis
|
||||||
newTag: 6.2.5
|
newTag: 6.2.5
|
||||||
|
|
||||||
|
configMapGenerator: []
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: drone-secret
|
- name: drone-secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
@ -65,12 +67,6 @@ secretGenerator:
|
||||||
behavior: replace
|
behavior: replace
|
||||||
files:
|
files:
|
||||||
- agent.yaml=configurations/grafana-agent/agent.yaml
|
- agent.yaml=configurations/grafana-agent/agent.yaml
|
||||||
- name: grafana-config
|
|
||||||
type: Opaque
|
|
||||||
namespace: grafana
|
|
||||||
behavior: replace
|
|
||||||
files:
|
|
||||||
- custom.ini=configurations/grafana/custom.ini
|
|
||||||
# - name: grafana-cloud-credentials
|
# - name: grafana-cloud-credentials
|
||||||
# type: Opaque
|
# type: Opaque
|
||||||
# namespace: monitoring
|
# namespace: monitoring
|
||||||
|
|
Loading…
Reference in New Issue