Skip to content

Commit

Permalink
Merge pull request #28 from BouyguesTelecom/update/pv-management
Browse files Browse the repository at this point in the history
change name & update imageName to bouyguestelecom/tada
  • Loading branch information
AmelieLoulergue authored Dec 12, 2024
2 parents 727d262 + 2083f55 commit 7b6fb70
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion opensource/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ spec:
volumes:
- name: redis-storage
persistentVolumeClaim:
claimName: redis-pv-claim
claimName: redis-pv
- name: logs
emptyDir: { }
23 changes: 12 additions & 11 deletions opensource/templates/pv-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: "{{.Values.mediaProvider.storage.storageClassName}}"
2 changes: 1 addition & 1 deletion opensource/templates/redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ spec:
volumes:
- name: redis-storage
persistentVolumeClaim:
claimName: redis-pv-claim
claimName: redis-pv
6 changes: 3 additions & 3 deletions opensource/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -74,7 +74,7 @@ mediaProvider:
requests:
storage: 500Mi
backupAndCleanJob:
imageName: 'amelieloulou/transform-and-deliver-assets'
imageName: 'bouyguestelecom/tada'
imageVersion: 'job-latest'

rateLimit:
Expand Down

0 comments on commit 7b6fb70

Please sign in to comment.