diff --git a/kubernetes/default.vars.yaml b/kubernetes/default.vars.yaml index 153b153..b678579 100644 --- a/kubernetes/default.vars.yaml +++ b/kubernetes/default.vars.yaml @@ -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: '' @@ -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. diff --git a/kubernetes/larppikuvat.vars.yaml b/kubernetes/larppikuvat.vars.yaml index d14b304..ec17bd0 100644 --- a/kubernetes/larppikuvat.vars.yaml +++ b/kubernetes/larppikuvat.vars.yaml @@ -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 diff --git a/kubernetes/production.vars.yaml b/kubernetes/production.vars.yaml index 46f4152..7b2d132 100644 --- a/kubernetes/production.vars.yaml +++ b/kubernetes/production.vars.yaml @@ -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 diff --git a/kubernetes/staging.vars.yaml b/kubernetes/staging.vars.yaml index 6514255..1585ed9 100644 --- a/kubernetes/staging.vars.yaml +++ b/kubernetes/staging.vars.yaml @@ -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