Skip to content

Commit

Permalink
ci: migrate to new nfs
Browse files Browse the repository at this point in the history
  • Loading branch information
japsu committed Jul 28, 2024
1 parent 9a32177 commit f5035cf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions kubernetes/default.vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ edegal_storage_pvc: true
# Storage class used for picture storage, or !Void for default
edegal_storage_pvc_storageclass: !Void

# To use an existing NFS export as the image storage, set edegal_storage_nfs to the IP of the server.
edegal_storage_nfs: ''
edegal_storage_nfs_path: /
# To use an existing NFS export as the image storage, set edegal_storage_nfs_host to the IP of the server.
edegal_storage_nfs_host: ''
edegal_storage_nfs_path: /opt/conikuvat

# Leave empty if you have kubernetes-secret-generator installed in your cluster and want to have it generate a SECRET_KEY for you
edegal_secret_key: ''
Expand Down Expand Up @@ -159,11 +159,11 @@ edegal_media_volumes_definition:
persistentVolumeClaim:
claimName: edegal-media
- !If
test: !Var edegal_storage_nfs
test: !Var edegal_storage_nfs_host
then:
name: edegal-media
nfs:
server: !Var edegal_storage_nfs
server: !Var edegal_storage_nfs_host
path: !Var edegal_storage_nfs_path

# Default annotations work for nginx ingress with or without LetsEncrypt TLS. Override if you need something else.
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/larppikuvat.vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ redis_broker_database: 5
redis_cache_database: 5

edegal_storage_pvc: false
edegal_storage_nfs: 91.105.251.66
edegal_storage_nfs_path: /larppikuvat
edegal_storage_nfs_host: 91.105.252.80
edegal_storage_nfs_path: /opt/conikuvat/larppikuvat
edegal_secret_managed: false
edegal_admins:
- Santtu Pajukanta <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/production.vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ redis_broker_database: 3
redis_cache_database: 3

edegal_storage_pvc: false
edegal_storage_nfs: 91.105.251.66
edegal_storage_nfs_host: 91.105.252.80
edegal_secret_managed: false
edegal_admins:
- Santtu Pajukanta <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/staging.vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ redis_cache_database: 1

edegal_storage_pvc: true
edegal_storage_pvc_storageclass: longhorn-nfs
edegal_storage_nfs: false
edegal_storage_nfs_host: false
edegal_secret_managed: false
edegal_admins:
- Santtu Pajukanta <[email protected]>
Expand Down

0 comments on commit f5035cf

Please sign in to comment.