[sunbeam-clusterd] Enable functional tests of certificates interface

Necessary changes have landed in the snap, enable the functional tests.

Change-Id: Iceb9b517a8329197deaa5b556370e94a825a2493
This commit is contained in:
Guillaume Boutry 2024-07-01 10:02:53 +02:00
parent c81a45e5f9
commit 77810e3826
No known key found for this signature in database
GPG Key ID: E95E3326872E55DE
2 changed files with 30 additions and 2 deletions

View File

@ -1,3 +1,11 @@
variables:
constraints: &constraints cores=1 mem=1G virt-type=virtual-machine
machines:
'0':
constraints: *constraints
base: ubuntu@22.04
applications:
sunbeam-machine:
{% if sunbeam_machine is defined and sunbeam_machine is sameas true -%}
@ -7,8 +15,10 @@ applications:
channel: 2024.1/edge
{% endif -%}
base: ubuntu@22.04
constraints: cores=1 mem=1G virt-type=virtual-machine
constraints: *constraints
scale: 1
to:
- '0'
sunbeam-clusterd:
{% if sunbeam_clusterd is defined and sunbeam_clusterd is sameas true -%}
charm: ../../../sunbeam-clusterd.charm
@ -17,5 +27,20 @@ applications:
channel: 2024.1/edge
{% endif -%}
base: ubuntu@22.04
constraints: cores=1 mem=1G virt-type=virtual-machine
constraints: *constraints
scale: 1
to:
- '0'
tls-operator:
charm: self-signed-certificates
channel: latest/beta
base: ubuntu@22.04
scale: 1
options:
ca-common-name: internal-ca
to:
- '0'
relations:
- - tls-operator:certificates
- sunbeam-clusterd:certificates

View File

@ -23,3 +23,6 @@ target_deploy_status:
sunbeam-clusterd:
workload-status: active
workload-status-message-regex: '^$'
tls-operator:
workload-status: active
workload-status-message-regex: '^$'