57070337b4
Move testing to juju 3.4 Set base to ubuntu@22.04 in all test bundles with traefik charm to ubuntu@20.04. tox can be modified to include default-series=;default-base=ubuntu@22.04 in TEST_MODEL_SETTINGS but that is not working for lxd based cloud. Update tox to use zaza from main instead of libjuju-3.1 for func tests. Func-tests for core are failing due to heavy load. Moved horizon to tests/misc Change-Id: I6c025e1350aad7ead922cf5feef19c67c308dbbd
164 lines
4.2 KiB
Django/Jinja
164 lines
4.2 KiB
Django/Jinja
bundle: kubernetes
|
|
|
|
applications:
|
|
traefik:
|
|
charm: ch:traefik-k8s
|
|
channel: 1.0/candidate
|
|
base: ubuntu@20.04
|
|
scale: 1
|
|
trust: true
|
|
options:
|
|
kubernetes-service-annotations: metallb.universe.tf/address-pool=public
|
|
mysql:
|
|
charm: ch:mysql-k8s
|
|
channel: 8.0/stable
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
constraints: cpu-power=1000 mem=1G
|
|
rabbitmq:
|
|
charm: ch:rabbitmq-k8s
|
|
channel: 3.12/edge
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
options:
|
|
minimum-replicas: 1
|
|
keystone:
|
|
{% if keystone_k8s is defined and keystone_k8s is sameas true -%}
|
|
charm: ../../../keystone-k8s.charm
|
|
{% else -%}
|
|
charm: ch:keystone-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
options:
|
|
admin-role: admin
|
|
storage:
|
|
fernet-keys: 5M
|
|
credential-keys: 5M
|
|
resources:
|
|
keystone-image: ghcr.io/canonical/keystone:2023.2
|
|
cinder:
|
|
{% if cinder_k8s is defined and cinder_k8s is sameas true -%}
|
|
charm: ../../../cinder-k8s.charm
|
|
{% else -%}
|
|
charm: ch:cinder-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
resources:
|
|
cinder-api-image: ghcr.io/canonical/cinder-consolidated:2023.2
|
|
cinder-scheduler-image: ghcr.io/canonical/cinder-consolidated:2023.2
|
|
cinder-ceph:
|
|
{% if cinder_ceph_k8s is defined and cinder_ceph_k8s is sameas true -%}
|
|
charm: ../../../cinder-ceph-k8s.charm
|
|
{% else -%}
|
|
charm: ch:cinder-ceph-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
resources:
|
|
cinder-volume-image: ghcr.io/canonical/cinder-consolidated:2023.2
|
|
gnocchi:
|
|
{% if gnocchi_k8s is defined and gnocchi_k8s is sameas true -%}
|
|
charm: ../../../gnocchi-k8s.charm
|
|
{% else -%}
|
|
charm: ch:gnocchi-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
resources:
|
|
gnocchi-api-image: ghcr.io/canonical/gnocchi-consolidated:2023.1
|
|
gnocchi-metricd-image: ghcr.io/canonical/gnocchi-consolidated:2023.1
|
|
ceilometer:
|
|
{% if ceilometer_k8s is defined and ceilometer_k8s is sameas true -%}
|
|
charm: ../../../ceilometer-k8s.charm
|
|
{% else -%}
|
|
charm: ch:ceilometer-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
resources:
|
|
ceilometer-central-image: ghcr.io/canonical/ceilometer-consolidated:2023.2
|
|
ceilometer-notification-image: ghcr.io/canonical/ceilometer-consolidated:2023.2
|
|
aodh:
|
|
{% if aodh_k8s is defined and aodh_k8s is sameas true -%}
|
|
charm: ../../../aodh-k8s.charm
|
|
{% else -%}
|
|
charm: ch:aodh-k8s
|
|
channel: 2023.2/edge
|
|
{% endif -%}
|
|
base: ubuntu@22.04
|
|
scale: 1
|
|
trust: true
|
|
resources:
|
|
aodh-api-image: ghcr.io/canonical/aodh-consolidated:2023.2
|
|
aodh-evaluator-image: ghcr.io/canonical/aodh-consolidated:2023.2
|
|
aodh-notifier-image: ghcr.io/canonical/aodh-consolidated:2023.2
|
|
aodh-listener-image: ghcr.io/canonical/aodh-consolidated:2023.2
|
|
aodh-expirer-image: ghcr.io/canonical/aodh-consolidated:2023.2
|
|
|
|
relations:
|
|
- - mysql:database
|
|
- keystone:database
|
|
- - traefik:ingress
|
|
- keystone:ingress-public
|
|
|
|
- - mysql:database
|
|
- cinder:database
|
|
- - cinder:amqp
|
|
- rabbitmq:amqp
|
|
- - keystone:identity-service
|
|
- cinder:identity-service
|
|
- - traefik:ingress
|
|
- cinder:ingress-public
|
|
- - keystone:send-ca-cert
|
|
- cinder:receive-ca-cert
|
|
|
|
- - cinder-ceph:database
|
|
- mysql:database
|
|
- - cinder-ceph:amqp
|
|
- rabbitmq:amqp
|
|
- - cinder:storage-backend
|
|
- cinder-ceph:storage-backend
|
|
|
|
- - mysql:database
|
|
- gnocchi:database
|
|
- - traefik:ingress
|
|
- gnocchi:ingress-public
|
|
- - keystone:identity-service
|
|
- gnocchi:identity-service
|
|
- - keystone:send-ca-cert
|
|
- gnocchi:receive-ca-cert
|
|
|
|
- - rabbitmq:amqp
|
|
- ceilometer:amqp
|
|
- - keystone:identity-credentials
|
|
- ceilometer:identity-credentials
|
|
- - gnocchi:gnocchi-service
|
|
- ceilometer:gnocchi-db
|
|
- - keystone:send-ca-cert
|
|
- ceilometer:receive-ca-cert
|
|
|
|
- - mysql:database
|
|
- aodh:database
|
|
- - rabbitmq:amqp
|
|
- aodh:amqp
|
|
- - keystone:identity-service
|
|
- aodh:identity-service
|
|
- - traefik:ingress
|
|
- aodh:ingress-public
|
|
- - keystone:send-ca-cert
|
|
- aodh:receive-ca-cert
|