This commit is contained in:
James Turland 2024-09-05 12:35:08 +01:00
commit ea82a9098e
4 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@
cmd: talosctl apply-config --insecure --nodes {{ control_plane_2 }} --file {{ config_directory }}/controlplane.yaml cmd: talosctl apply-config --insecure --nodes {{ control_plane_2 }} --file {{ config_directory }}/controlplane.yaml
changed_when: true changed_when: true
- name: Apply config to first node - name: Apply config to third node
ansible.builtin.command: ansible.builtin.command:
cmd: talosctl apply-config --insecure --nodes {{ control_plane_3 }} --file {{ config_directory }}/controlplane.yaml cmd: talosctl apply-config --insecure --nodes {{ control_plane_3 }} --file {{ config_directory }}/controlplane.yaml
changed_when: true changed_when: true

View file

@ -26,7 +26,7 @@ services:
- KC_DB=postgres - KC_DB=postgres
- KC_DB_USERNAME=keycloak - KC_DB_USERNAME=keycloak
- KC_DB_PASSWORD=SUPERsecret - KC_DB_PASSWORD=SUPERsecret
- KC_DB_URL_HOST=postgres - KC_DB_URL_HOST=postgresql
- KC_DB_URL_PORT=5432 - KC_DB_URL_PORT=5432
- KC_DB_URL_DATABASE=keycloak - KC_DB_URL_DATABASE=keycloak
- KEYCLOAK_ADMIN=admin - KEYCLOAK_ADMIN=admin

View file

@ -103,7 +103,7 @@ done
# Install policycoreutils for each node # Install policycoreutils for each node
for newnode in "${all[@]}"; do for newnode in "${all[@]}"; do
ssh $user@$newnode -i ~/.ssh/$certName sudo su <<EOF ssh $user@$newnode -i ~/.ssh/$certName sudo su <<EOF
NEEDRESTART_MODE=a apt install policycoreutils -y NEEDRESTART_MODE=a apt-get install policycoreutils -y
exit exit
EOF EOF
echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m" echo -e " \033[32;5mPolicyCoreUtils installed!\033[0m"

View file

@ -4,7 +4,7 @@ metadata:
creationTimestamp: null creationTimestamp: null
labels: labels:
app.kubernetes.io/name: kube-vip-ds app.kubernetes.io/name: kube-vip-ds
app.kubernetes.io/version: v0.7.2 app.kubernetes.io/version: v0.8.2
name: kube-vip-ds name: kube-vip-ds
namespace: kube-system namespace: kube-system
spec: spec:
@ -16,7 +16,7 @@ spec:
creationTimestamp: null creationTimestamp: null
labels: labels:
app.kubernetes.io/name: kube-vip-ds app.kubernetes.io/name: kube-vip-ds
app.kubernetes.io/version: v0.7.2 app.kubernetes.io/version: v0.8.2
spec: spec:
affinity: affinity:
nodeAffinity: nodeAffinity:
@ -64,7 +64,7 @@ spec:
value: $vip value: $vip
- name: prometheus_server - name: prometheus_server
value: :2112 value: :2112
image: ghcr.io/kube-vip/kube-vip:v0.6.3 image: ghcr.io/kube-vip/kube-vip:v0.8.2
imagePullPolicy: Always imagePullPolicy: Always
name: kube-vip name: kube-vip
resources: {} resources: {}