sunbeam-charms/tests/ceph/smoke.yaml.j2
Guillaume Boutry 4931ad53b9
[*-k8s] Migrate charm base to ubuntu@24.04
Update charm base to ubuntu@24.04 for all k8s based charms. Deploying
k8s charm is abstracted from the underlying host base, therefore we can
already deploy next generation based charms.

Change-Id: If8e8960a58a39f9978aaeec26ed4df4a2b690396
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-10-09 09:23:37 +02:00

191 lines
4.9 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
options:
profile-limit-memory: 2560
experimental-max-connections: 150
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: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
storage:
fernet-keys: 5M
credential-keys: 5M
resources:
keystone-image: ghcr.io/canonical/keystone:2024.1
cinder:
{% if cinder_k8s is defined and cinder_k8s is sameas true -%}
charm: ../../../cinder-k8s.charm
{% else -%}
charm: ch:cinder-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
cinder-api-image: ghcr.io/canonical/cinder-consolidated:2024.1
cinder-scheduler-image: ghcr.io/canonical/cinder-consolidated:2024.1
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: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
cinder-volume-image: ghcr.io/canonical/cinder-consolidated:2024.1
gnocchi:
{% if gnocchi_k8s is defined and gnocchi_k8s is sameas true -%}
charm: ../../../gnocchi-k8s.charm
{% else -%}
charm: ch:gnocchi-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
gnocchi-api-image: ghcr.io/canonical/gnocchi-consolidated:2024.1
gnocchi-metricd-image: ghcr.io/canonical/gnocchi-consolidated:2024.1
ceilometer:
{% if ceilometer_k8s is defined and ceilometer_k8s is sameas true -%}
charm: ../../../ceilometer-k8s.charm
{% else -%}
charm: ch:ceilometer-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
ceilometer-central-image: ghcr.io/canonical/ceilometer-consolidated:2024.1
ceilometer-notification-image: ghcr.io/canonical/ceilometer-consolidated:2024.1
aodh:
{% if aodh_k8s is defined and aodh_k8s is sameas true -%}
charm: ../../../aodh-k8s.charm
{% else -%}
charm: ch:aodh-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
aodh-api-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-evaluator-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-notifier-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-listener-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-expirer-image: ghcr.io/canonical/aodh-consolidated:2024.1
watcher:
{% if watcher_k8s is defined and watcher_k8s is sameas true -%}
charm: ../../../watcher-k8s.charm
{% else -%}
charm: ch:watcher-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@24.04
scale: 1
trust: true
resources:
watcher-image: ghcr.io/canonical/watcher-consolidated:2024.1
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
- - keystone:identity-credentials
- cinder-ceph:identity-credentials
- - 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
- - mysql:database
- watcher:database
- - watcher:amqp
- rabbitmq:amqp
- - keystone:identity-service
- watcher:identity-service
- - traefik:ingress
- watcher:ingress-public
- - keystone:send-ca-cert
- watcher:receive-ca-cert
- - gnocchi:gnocchi-service
- watcher:gnocchi-db