Skip to content

Commit

Permalink
fix reddis resources
Browse files Browse the repository at this point in the history
  • Loading branch information
skadefro committed Apr 6, 2024
1 parent 099a5b3 commit 4bf0629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openflow/templates/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
image: {{ .Values.openflow.redisimage | quote }}
imagePullPolicy: Always
resources:
{{- toYaml .Values.openflow.resources | nindent 12 }}
{{- toYaml .Values.redis.resources | nindent 12 }}
ports:
- containerPort: 6379
args: [ "--requirepass", "{{ .Values.openflow.cache_store_redis_password }}" ]
Expand Down
4 changes: 4 additions & 0 deletions charts/openflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ port: # if the external port to access this is differente from 80/443, then set
grpc:
exposed: false
internalport: 50051
redis:
# enabled: true # set using openflow.cache_store_type "redis"
# image: redis # set using image: {{ .Values.openflow.redisimage | quote }}
resources: {}
openflow:
image: openiap/openflow # set image for api deployment
prestop:
Expand Down

0 comments on commit 4bf0629

Please sign in to comment.