[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:
@@ -1,3 +1,11 @@
|
|||||||
|
variables:
|
||||||
|
constraints: &constraints cores=1 mem=1G virt-type=virtual-machine
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: *constraints
|
||||||
|
base: ubuntu@22.04
|
||||||
|
|
||||||
applications:
|
applications:
|
||||||
sunbeam-machine:
|
sunbeam-machine:
|
||||||
{% if sunbeam_machine is defined and sunbeam_machine is sameas true -%}
|
{% if sunbeam_machine is defined and sunbeam_machine is sameas true -%}
|
||||||
@@ -7,8 +15,10 @@ applications:
|
|||||||
channel: 2024.1/edge
|
channel: 2024.1/edge
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
base: ubuntu@22.04
|
base: ubuntu@22.04
|
||||||
constraints: cores=1 mem=1G virt-type=virtual-machine
|
constraints: *constraints
|
||||||
scale: 1
|
scale: 1
|
||||||
|
to:
|
||||||
|
- '0'
|
||||||
sunbeam-clusterd:
|
sunbeam-clusterd:
|
||||||
{% if sunbeam_clusterd is defined and sunbeam_clusterd is sameas true -%}
|
{% if sunbeam_clusterd is defined and sunbeam_clusterd is sameas true -%}
|
||||||
charm: ../../../sunbeam-clusterd.charm
|
charm: ../../../sunbeam-clusterd.charm
|
||||||
@@ -17,5 +27,20 @@ applications:
|
|||||||
channel: 2024.1/edge
|
channel: 2024.1/edge
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
base: ubuntu@22.04
|
base: ubuntu@22.04
|
||||||
constraints: cores=1 mem=1G virt-type=virtual-machine
|
constraints: *constraints
|
||||||
scale: 1
|
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:
|
sunbeam-clusterd:
|
||||||
workload-status: active
|
workload-status: active
|
||||||
workload-status-message-regex: '^$'
|
workload-status-message-regex: '^$'
|
||||||
|
tls-operator:
|
||||||
|
workload-status: active
|
||||||
|
workload-status-message-regex: '^$'
|
||||||
|
Reference in New Issue
Block a user