[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:
parent
c81a45e5f9
commit
77810e3826
@ -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
|
||||
|
@ -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: '^$'
|
||||
|
Loading…
x
Reference in New Issue
Block a user