Skip to content

Commit

Permalink
chore(kubernetes): house keeping
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 16, 2025
1 parent 4917f32 commit 74e288c
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ spec:
securityContext: &securityContext
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
sync:
image:
repository: docker.io/1password/connect-sync
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/home/atuin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/home/go2rtc/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
annotations:
k8s.v1.cni.cncf.io/networks: |
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/home/home-assistant/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
annotations:
k8s.v1.cni.cncf.io/networks: |
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/apps/home/zigbee2mqtt/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
add: ["NET_BIND_SERVICE"]
drop: ["ALL"]
capabilities: { add: ["NET_BIND_SERVICE"], drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
priorityClassName: system-node-critical
persistence:
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/autobrr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/bazarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ spec:
securityContext: &securityContext
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
subcleaner:
image:
repository: registry.k8s.io/git-sync/git-sync
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/cross-seed/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/overseerr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
containers:
prune-unregistered:
<<: *container
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/recyclarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/sonarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/tautulli/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ spec:
securityContext: &securityContext
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
jbops:
image:
repository: registry.k8s.io/git-sync/git-sync
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/media/unpackerr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/monitoring/gatus/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/monitoring/karma/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/monitoring/kromgo/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/monitoring/unpoller/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/networking/cloudflared/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/networking/echo-server/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/networking/smtp-relay/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
capabilities: { drop: ["ALL"] }
defaultPodOptions:
affinity:
nodeAffinity:
Expand Down

0 comments on commit 74e288c

Please sign in to comment.