forgejo: Add vars runnerhostvm, valkey templates

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan
2025-10-29 13:51:15 +00:00
parent c58d2861dd
commit 7e3d153e8c
3 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ spec:
devices:
autoattachPodInterface: false
interfaces:
- macAddress: 02:79:58:00:00:01
- macAddress: "{{ '02:79:58' | community.general.random_mac }}"
masquerade: {}
name: default
machine:
@@ -55,6 +55,6 @@ spec:
#cloud-config
chpasswd:
expire: false
password: japx-h11n-xufh
user: fedora
password: "{{ (env == 'production') | ternary(forgejo_runnerhostvm_password, forgejo_stg_runnerhostvm_password) }}"
user: "{{ (env == 'production') | ternary(forgejo_runnerhostvm_user, forgejo_stg_runnerhostvm_user) }}"
name: cloudinitdisk

View File

@@ -9,8 +9,8 @@ data:
bind 0.0.0.0
port 6379
cluster-enabled yes
requirepass valkeypassword
masterauth valkeypassword
requirepass "{{ (env == 'production') | ternary(forgejo_valkey_password, forgejo_stg_valkey_password) }}"
masterauth "{{ (env == 'production') | ternary(forgejo_valkey_masterauth, forgejo_stg_valkey_masterauth) }}"
protected-mode no
dir /data
dbfilename dump.rdb

View File

@@ -40,4 +40,4 @@ spec:
storageClassName: ocs-storagecluster-ceph-rbd
resources:
requests:
storage: 1Gi
storage: 10Gi