chore(argocd): Disable Piraeus

This commit is contained in:
Peter 2025-12-20 16:39:38 +01:00
parent ebb770d44e
commit 46278e864a
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
2 changed files with 19 additions and 86 deletions

View file

@ -38,25 +38,25 @@ spec:
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- ServerSideApply=true - ServerSideApply=true
--- # ---
apiVersion: argoproj.io/v1alpha1 # apiVersion: argoproj.io/v1alpha1
kind: Application # kind: Application
metadata: # metadata:
name: piraeus-datastore # name: piraeus-datastore
namespace: argocd # namespace: argocd
spec: # spec:
project: default # project: default
source: # source:
repoURL: https://code.peterg.nl/wheatley/kubernetes.git # repoURL: https://code.peterg.nl/wheatley/kubernetes.git
path: k8s-wheatley/datastore # path: k8s-wheatley/datastore
targetRevision: HEAD # targetRevision: HEAD
destination: # destination:
server: https://10.13.37.10:6443 # server: https://10.13.37.10:6443
namespace: piraeus-datastore # namespace: piraeus-datastore
syncPolicy: # syncPolicy:
automated: # automated:
prune: true # prune: true
selfHeal: true # selfHeal: true
--- ---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application

View file

@ -1,67 +0,0 @@
---
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: default
spec:
containers:
- name: busybox
image: busybox
imagePullPolicy: IfNotPresent
command:
- sleep
- "3600"
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
volumeMounts:
- mountPath: /shared/media
name: media
volumes:
- name: media
persistentVolumeClaim:
claimName: media
securityContext:
runAsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: media-nfs
namespace: default
spec:
capacity:
storage: 40Ti
accessModes:
- ReadWriteMany
nfs:
server: 10.0.69.10
path: /tank/media
mountOptions:
- vers=4.1
- rsize=1048576
- wsize=1048576
- hard
- timeo=600
- noatime
persistentVolumeReclaimPolicy: Retain
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: media
namespace: default
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 40Ti
volumeName: media-nfs