Skip to content

Commit

Permalink
fix(valkey): implement remarks from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Maja Massarini <[email protected]>
Signed-off-by: Matej Focko <[email protected]>
  • Loading branch information
mfocko and majamassarini committed Oct 9, 2024
1 parent 64cdcec commit 0dc44f5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 0 additions & 2 deletions playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@
when: with_kv_database
tags:
- kv_database
- redis
- redict

- name: Deploy fluentd image stream and config
ansible.builtin.include_tasks: tasks/k8s.yml
Expand Down
2 changes: 0 additions & 2 deletions playbooks/roles/deploy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@
when: with_kv_database
tags:
- kv_database
- redis
- redict

- name: Deploy fluentd image stream and config
ansible.builtin.include_tasks: tasks/k8s.yml
Expand Down
1 change: 1 addition & 0 deletions playbooks/tasks/set-deployment-facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
nginx: "{{ with_pushgateway }}"
redis: "{{ with_kv_database and kv_database == 'redis' }}"
redict: "{{ with_kv_database and kv_database == 'redict' }}"
valkey: "{{ with_kv_database and kv_database == 'valkey' }}"
tags:
- always

Expand Down
6 changes: 4 additions & 2 deletions vars/packit/dev_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ check_up_to_date: false
# edit the queue name in secrets/*/fedora.toml
with_fedmsg: false

# kv_database: redict
# with_kv_database: true
# kv_database options: redis redict valkey
# Current default on both deployments: valkey
kv_database: valkey
with_kv_database: true

with_redis_commander: false

Expand Down
4 changes: 3 additions & 1 deletion vars/packit/prod_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ api_key: ""
# edit the queue name in secrets/*/fedora.toml
# with_fedmsg: true

# kv_database: valkey
# kv_database options: redis redict valkey
# Current default on both deployments: valkey
kv_database: valkey
# with_kv_database: true

# with_redis_commander: false
Expand Down
4 changes: 3 additions & 1 deletion vars/packit/stg_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ api_key: ""
# edit the queue name in secrets/*/fedora.toml
# with_fedmsg: true

# kv_database: valkey
# kv_database options: redis redict valkey
# Current default on both deployments: valkey
kv_database: valkey
# with_kv_database: true

# with_redis_commander: false
Expand Down

0 comments on commit 0dc44f5

Please sign in to comment.