chore(argocd): Disable Piraeus
This commit is contained in:
parent
ebb770d44e
commit
46278e864a
2 changed files with 19 additions and 86 deletions
|
|
@ -38,25 +38,25 @@ spec:
|
|||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: piraeus-datastore
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://code.peterg.nl/wheatley/kubernetes.git
|
||||
path: k8s-wheatley/datastore
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
server: https://10.13.37.10:6443
|
||||
namespace: piraeus-datastore
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
# ---
|
||||
# apiVersion: argoproj.io/v1alpha1
|
||||
# kind: Application
|
||||
# metadata:
|
||||
# name: piraeus-datastore
|
||||
# namespace: argocd
|
||||
# spec:
|
||||
# project: default
|
||||
# source:
|
||||
# repoURL: https://code.peterg.nl/wheatley/kubernetes.git
|
||||
# path: k8s-wheatley/datastore
|
||||
# targetRevision: HEAD
|
||||
# destination:
|
||||
# server: https://10.13.37.10:6443
|
||||
# namespace: piraeus-datastore
|
||||
# syncPolicy:
|
||||
# automated:
|
||||
# prune: true
|
||||
# selfHeal: true
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue