Author SHA1 Message Date
renovate 38b24eb776 Update victoriametrics/vmagent Docker tag to v1.155.0 2026-10-26 17:27:22 +00:00
4 changed files with 3 additions and 159 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
+2 -2
View File
@@ -206,7 +206,7 @@ spec:
priorityClassName: critical
containers:
- name: nextcloud
image: "nextcloud:35.0.2-apache@sha256:0347adaf2fa460aa9589f8c2b1ed246788d11a72ad9918d55ca288f3137fe5ca"
image: "nextcloud:35.0.2-apache@sha256:89af7ee7a96ff5e9668280566209268ae6b2d02327f6ef6d56f6d68228cf9431"
imagePullPolicy: IfNotPresent
env:
- name: SQLITE_DATABASE
@@ -340,7 +340,7 @@ spec:
mountPath: /var/www/html/config/smtp.config.php
subPath: smtp.config.php
- name: cron
image: "nextcloud:35.0.2-apache@sha256:0347adaf2fa460aa9589f8c2b1ed246788d11a72ad9918d55ca288f3137fe5ca"
image: "nextcloud:35.0.2-apache@sha256:89af7ee7a96ff5e9668280566209268ae6b2d02327f6ef6d56f6d68228cf9431"
imagePullPolicy: IfNotPresent
command:
- /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:
containers:
- name: trek
image: mauriceboe/trek:5.0.1@sha256:6f590b97c09158e92e9bc7d914ea1af207077735f07f7b622b1f6fb690442bc3
image: mauriceboe/trek:4.3.4@sha256:6b7c8f275cc0ff3ca44979084bf078f553c96a0564493a132c1631ffaf6c3e77
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef: