diff --git a/opensource/templates/deployment.yaml b/opensource/templates/deployment.yaml index 02f7927..5ce6738 100644 --- a/opensource/templates/deployment.yaml +++ b/opensource/templates/deployment.yaml @@ -139,6 +139,6 @@ spec: volumes: - name: redis-storage persistentVolumeClaim: - claimName: redis-pv-claim + claimName: redis-pv - name: logs emptyDir: { } \ No newline at end of file diff --git a/opensource/templates/pv-redis.yaml b/opensource/templates/pv-redis.yaml index a73c455..b0f663f 100644 --- a/opensource/templates/pv-redis.yaml +++ b/opensource/templates/pv-redis.yaml @@ -25,18 +25,19 @@ spec: - orbstack --- {{- end }} - apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: redis-pv-claim + name: redis-pv + annotations: + volume-expander-operator.redhat-cop.io/autoexpand: "true" + volume-expander-operator.redhat-cop.io/polling-frequency: "1m" + volume-expander-operator.redhat-cop.io/expand-threshold-percent: "80" + volume-expander-operator.redhat-cop.io/expand-by-percent: "25" spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: "{{.Values.mediaProvider.storage.resources.requests.storage}}" - storageClassName: "{{.Values.mediaProvider.storage.storageClassName}}" - selector: - matchLabels: - type: redis \ No newline at end of file + accessModes: + - ReadWriteMany + resources: + requests: + storage: 1Gi + storageClassName: "{{.Values.mediaProvider.storage.storageClassName}}" \ No newline at end of file diff --git a/opensource/templates/redis-deployment.yaml b/opensource/templates/redis-deployment.yaml index 4a31ae0..6470c48 100644 --- a/opensource/templates/redis-deployment.yaml +++ b/opensource/templates/redis-deployment.yaml @@ -29,4 +29,4 @@ spec: volumes: - name: redis-storage persistentVolumeClaim: - claimName: redis-pv-claim + claimName: redis-pv diff --git a/opensource/values.yaml b/opensource/values.yaml index 39e759e..400b05a 100644 --- a/opensource/values.yaml +++ b/opensource/values.yaml @@ -35,8 +35,8 @@ s3: mediaProvider: useStripMetadata: true - imageName: 'amelieloulou/transform-and-deliver-assets' - imageVersion: 'latest' + imageName: 'bouyguestelecom/tada' + imageVersion: 'api-latest' pvPathImage: '/images' service: 'http://media-service' nginx: @@ -74,7 +74,7 @@ mediaProvider: requests: storage: 500Mi backupAndCleanJob: - imageName: 'amelieloulou/transform-and-deliver-assets' + imageName: 'bouyguestelecom/tada' imageVersion: 'job-latest' rateLimit: