github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/tests/suites/firewall/bundles/invalid.yaml (about)

     1  # This bundle is invalid because it contains both an
     2  # "expose: true" field and a list of exposed endpoint
     3  # parameters in its overlay section
     4  series: jammy
     5  applications:
     6    ubuntu-lite:
     7      charm: ubuntu
     8      num_units: 1
     9      to:
    10      - "0"
    11      expose: true
    12  machines:
    13    "0": {}
    14  --- # overlay.yaml
    15  applications:
    16    ubuntu-lite:
    17      exposed-endpoints:
    18        "":
    19          expose-to-cidrs:
    20          - 10.0.0.0/24
    21          - 192.168.0.0/24
    22        ubuntu:
    23          expose-to-cidrs:
    24          - 10.42.0.0/16
    25          - 2002:0:0:1234::/64