Redeploy Harbor with StorageClass
This commit is contained in:
parent
732fd4229e
commit
3120186df9
@ -12,25 +12,31 @@ persistence:
|
||||
persistentVolumeClaim:
|
||||
registry:
|
||||
storageClass: "harbor"
|
||||
subPath: registry
|
||||
accessMode: ReadWriteMany
|
||||
size: 5Gi
|
||||
chartmuseum:
|
||||
storageClass: "harbor"
|
||||
subPath: chartmuseum
|
||||
accessMode: ReadWriteMany
|
||||
size: 5Gi
|
||||
jobservice:
|
||||
storageClass: "harbor"
|
||||
subPath: jobservice
|
||||
accessMode: ReadWriteMany
|
||||
size: 1Gi
|
||||
database:
|
||||
storageClass: "harbor-db"
|
||||
subPath: db
|
||||
accessMode: ReadWriteMany
|
||||
size: 1Gi
|
||||
redis:
|
||||
storageClass: "harbor-db"
|
||||
subPath: redis
|
||||
accessMode: ReadWriteMany
|
||||
size: 1Gi
|
||||
trivy:
|
||||
storageClass: "harbor"
|
||||
subPath: trivy
|
||||
accessMode: ReadWriteMany
|
||||
size: 1Gi
|
||||
|
@ -7,7 +7,7 @@ parameters:
|
||||
source: "//192.168.11.225/K3s.StorageClass/harbor"
|
||||
csi.storage.k8s.io/node-stage-secret-name: "smb-credentials"
|
||||
csi.storage.k8s.io/node-stage-secret-namespace: "default"
|
||||
createSubDir: "true" # optional: create a sub dir for new volume
|
||||
createSubDir: "false" # optional: create a sub dir for new volume
|
||||
reclaimPolicy: Retain # only retain is supported
|
||||
volumeBindingMode: Immediate
|
||||
mountOptions:
|
||||
@ -25,7 +25,7 @@ parameters:
|
||||
source: "//192.168.11.225/K3s.StorageClass/harbor-db"
|
||||
csi.storage.k8s.io/node-stage-secret-name: "smb-credentials"
|
||||
csi.storage.k8s.io/node-stage-secret-namespace: "default"
|
||||
createSubDir: "true" # optional: create a sub dir for new volume
|
||||
createSubDir: "false" # optional: create a sub dir for new volume
|
||||
reclaimPolicy: Retain # only retain is supported
|
||||
volumeBindingMode: Immediate
|
||||
mountOptions:
|
||||
|
@ -53,7 +53,9 @@ data:
|
||||
spamasaurus.com.conf: |
|
||||
$HTTP["host"] == "spamasaurus.com" {
|
||||
server.document-root = "/var/www/spamasaurus.com/public"
|
||||
}
|
||||
|
||||
index-file.names += ("spamasaurusRex.login.php")
|
||||
}
|
||||
sw.itch.fyi.conf: |
|
||||
$HTTP["host"] == "sw.itch.fyi" {
|
||||
server.document-root = "/var/www/sw.itch.fyi/"
|
||||
|
Loading…
Reference in New Issue
Block a user