Merge "fix(libvirt): add HOSTNAME_FQDN to certificate"

This commit is contained in:
Zuul 2023-10-05 21:11:23 +00:00 committed by Gerrit Code Review
commit 540e62271c
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
...