Added gitea to new cluster

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2024-04-06 15:13:40 +01:00
parent 3dc3a78a1e
commit d1bb4aba68
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 52 additions and 34 deletions

View File

@ -22,3 +22,29 @@ spec:
- kind: Secret - kind: Secret
jsonPointers: jsonPointers:
- /data - /data
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cluster-fun-gitea
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: gitea
name: cluster-fun (v2)
source:
path: manifests/gitea
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
---

View File

@ -1,37 +1,31 @@
apiVersion: v1 # apiVersion: v1
kind: PersistentVolume # kind: PersistentVolume
metadata: # metadata:
annotations: # annotations:
pv.kubernetes.io/provisioned-by: csi.scaleway.com # pv.kubernetes.io/provisioned-by: csi.scaleway.com
creationTimestamp: "2020-05-02T15:38:54Z" # creationTimestamp: "2020-05-02T15:38:54Z"
finalizers: # finalizers:
- kubernetes.io/pv-protection # - kubernetes.io/pv-protection
- external-attacher/csi-scaleway-com # - external-attacher/csi-scaleway-com
name: pvc-02bd903f-e5ac-4c9f-a976-9fe995a352b2 # name: pvc-02bd903f-e5ac-4c9f-a976-9fe995a352b2
spec: # spec:
accessModes: # accessModes:
- ReadWriteOnce # - ReadWriteOnce
capacity: # capacity:
storage: 20Gi # storage: 20Gi
csi: # csi:
driver: csi.scaleway.com # driver: csi.scaleway.com
fsType: ext4 # fsType: ext4
volumeAttributes: # volumeAttributes:
storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com # storage.kubernetes.io/csiProvisionerIdentity: 1588413765965-1847-csi.scaleway.com
volumeHandle: fr-par-1/2ef4f017-2d41-4662-bfa4-df0dcf2085a1 # volumeHandle: fr-par-1/2ef4f017-2d41-4662-bfa4-df0dcf2085a1
persistentVolumeReclaimPolicy: Retain # persistentVolumeReclaimPolicy: Retain
storageClassName: scw-bssd-retain # storageClassName: scw-bssd-retain
volumeMode: Filesystem # volumeMode: Filesystem
--- # ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
annotations:
pv.kubernetes.io/bind-completed: "yes"
pv.kubernetes.io/bound-by-controller: "yes"
volume.beta.kubernetes.io/storage-provisioner: csi.scaleway.com
finalizers:
- kubernetes.io/pvc-protection
labels: labels:
app: git app: git
name: git-data-git-0 name: git-data-git-0
@ -42,6 +36,4 @@ spec:
resources: resources:
requests: requests:
storage: 20Gi storage: 20Gi
storageClassName: scw-bssd-retain storageClassName: sbs-default-retain
volumeMode: Filesystem
volumeName: pvc-02bd903f-e5ac-4c9f-a976-9fe995a352b2