fix(libvirt): add HOSTNAME_FQDN to certificate

Change-Id: I2d9e0053aa0f774b6621d6b5aadbd84c3a59a97b
This commit is contained in:
Mohammed Naser 2023-10-04 15:28:14 -04:00
parent 4bf06807f5
commit b12e6fb436
3 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm libvirt
name: libvirt
version: 0.1.23
version: 0.1.24
home: https://libvirt.org
sources:
- https://libvirt.org/git/?p=libvirt.git;a=summary

View File

@ -134,8 +134,9 @@ conf:
#!/bin/bash
set -x
# Script to create certs for each libvirt pod based on pod IP (by default).
HOSTNAME_FQDN=$(hostname --fqdn)
# Script to create certs for each libvirt pod based on pod IP (by default).
cat <<EOF | kubectl apply -f -
apiVersion: cert-manager.io/v1
kind: Certificate
@ -155,6 +156,7 @@ conf:
- server auth
dnsNames:
- ${HOSTNAME}
- ${HOSTNAME_FQDN}
ipAddresses:
- ${POD_IP}
issuerRef:

View File

@ -24,4 +24,5 @@ libvirt:
- 0.1.21 Disable libvirt cgroup functionality for cgroup-v2
- 0.1.22 Set targeted dependency of libvirt with ovn networking backend
- 0.1.23 Add support for enabling vencrypt
- 0.1.24 Include HOSTNAME_FQDN for certificates
...