Author SHA1 Message Date
renovate 64bb4b2de7 Update grafana/promtail Docker tag to v3 2026-10-27 07:22:36 +00:00
5 changed files with 4 additions and 160 deletions

No files matched your search

-25
View File
@@ -1,25 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sre-agent
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: default
name: cluster-fun (v2)
source:
path: manifests/sre-agent
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
+1 -1
View File
@@ -216,7 +216,7 @@ spec:
serviceAccountName: promtail serviceAccountName: promtail
containers: containers:
- name: promtail - name: promtail
image: "grafana/promtail:2.9.17@sha256:b28495fdab552b183428c5b5cebbf258231fc5f00be7724be2bc091ad21ac390" image: "grafana/promtail:3.6.11@sha256:a761cb834cfaeee29745440d4884d6748f0a08d8f68928db1d707018c1dcfbe9"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
- "-config.file=/etc/promtail/promtail.yaml" - "-config.file=/etc/promtail/promtail.yaml"
+2 -2
View File
@@ -206,7 +206,7 @@ spec:
priorityClassName: critical priorityClassName: critical
containers: containers:
- name: nextcloud - name: nextcloud
image: "nextcloud:35.0.2-apache@sha256:0347adaf2fa460aa9589f8c2b1ed246788d11a72ad9918d55ca288f3137fe5ca" image: "nextcloud:35.0.2-apache@sha256:89af7ee7a96ff5e9668280566209268ae6b2d02327f6ef6d56f6d68228cf9431"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: SQLITE_DATABASE - name: SQLITE_DATABASE
@@ -340,7 +340,7 @@ spec:
mountPath: /var/www/html/config/smtp.config.php mountPath: /var/www/html/config/smtp.config.php
subPath: smtp.config.php subPath: smtp.config.php
- name: cron - name: cron
image: "nextcloud:35.0.2-apache@sha256:0347adaf2fa460aa9589f8c2b1ed246788d11a72ad9918d55ca288f3137fe5ca" image: "nextcloud:35.0.2-apache@sha256:89af7ee7a96ff5e9668280566209268ae6b2d02327f6ef6d56f6d68228cf9431"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /cron.sh - /cron.sh
-131
View File
@@ -1,131 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: sre-agent
namespace: default
---
apiVersion: v1
kind: Secret
metadata:
name: sre-agent
namespace: default
annotations:
kubernetes.io/service-account.name: sre-agent
type: kubernetes.io/service-account-token
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: sre-agent
labels:
app.kubernetes.io/name: sre-agent
rules:
# Node-level diagnostics
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["nodes/proxy", "nodes/metrics", "nodes/stats"]
verbs: ["get", "list"]
# Pod diagnostics
- apiGroups: [""]
resources: ["pods", "pods/log", "pods/status", "pods/ephemeralcontainers"]
verbs: ["get", "list", "watch"]
# Services, endpoints, networking
- apiGroups: [""]
resources: ["services", "endpoints", "endpointslices", "namespaces"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims", "persistentvolumes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["configmaps", "secrets"]
verbs: ["get", "list"] # readable only, no modify/delete
- apiGroups: [""]
resources: ["resourcequotas", "limitranges"]
verbs: ["get", "list"]
# Network policies
- apiGroups: ["networking.k8s.io"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["discovery.k8s.io"]
resources: ["*"]
verbs: ["get", "list", "watch"]
# Workloads
- apiGroups: ["apps"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps"]
resources: ["deployments/scale", "replicasets/scale"]
verbs: ["get"]
# Jobs & cronjobs
- apiGroups: ["batch"]
resources: ["*"]
verbs: ["get", "list", "watch"]
- apiGroups: ["batch"]
resources: ["jobs/log"]
verbs: ["get", "list"]
# Autoscaling
- apiGroups: ["autoscaling"]
resources: ["*"]
verbs: ["get", "list", "watch"]
# RBAC visibility (diagnose who owns what)
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["*"]
verbs: ["get", "list", "watch"]
# Custom Resource Definitions (so we can inspect custom resources)
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
# Priority classes
- apiGroups: ["scheduling.k8s.io"]
resources: ["priorityclasses"]
verbs: ["get", "list"]
# Certificate rotation
- apiGroups: ["certificates.k8s.io"]
resources: ["certificatesigningrequests", "certificatesigningrequests/approval"]
verbs: ["get", "list", "watch"]
# Metrics Server (if installed)
- apiGroups: ["metrics.k8s.io"]
resources: ["*"]
verbs: ["get", "list"]
# Admission controllers / pod security (diagnostic)
- apiGroups: ["policy"]
resources: ["*"]
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: sre-agent-binding
labels:
app.kubernetes.io/name: sre-agent
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: sre-agent
subjects:
- kind: ServiceAccount
name: sre-agent
namespace: default
+1 -1
View File
@@ -58,7 +58,7 @@ spec:
spec: spec:
containers: containers:
- name: trek - name: trek
image: mauriceboe/trek:5.0.1@sha256:6f590b97c09158e92e9bc7d914ea1af207077735f07f7b622b1f6fb690442bc3 image: mauriceboe/trek:5.0.0@sha256:0c0a8f5b488fc2967248695e04bb000bb177d0b63d3385089d33dca6fde4daf9
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- configMapRef: - configMapRef: