apiVersion: v1
data:
  config.yaml: |
    enable-default-deny: true
    listen: :3000
    resources:
    - uri: /*
      roles:
      - wally-view
  forbidden-page.html: |-
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <meta name="description" content="Water Allocation">
        <meta name="theme-color" content="#ffffff">
        <title>Access error - Water Allocation - Province of British Columbia</title>
        <style type="text/css">
        * {
            background-repeat: no-repeat;
            padding: 0;
            margin: 0;
            font-family: BCSans, Helvetica, sans-serif;
        }
        .v-toolbar__content{
            display: flex;
            height: 64px;
            position: relative;
            padding: 4px 16px;
        }
        .bcgov-title{
            /*font-size: calc(7px + 2.2vw);*/
            font-family: BCSans, Noto Sans, Verdana, Arial, sans-serif;
            font-size: 24pt;
            visibility: visible;
            font-weight: 400;
            margin: 5px 5px 0 18px;
            color: white;
        }
        .logo {
            margin-left: 20px!important;
            margin-top: -5px
        }
        .message{
            color: black;
            margin-top: 50px;
            margin-left: auto;
            margin-right: auto;
            width: 800px;
            padding: 10px;
            text-align: center;
            background-color: whitesmoke;
            border: 1px solid #e6e6e6;
        }
        </style>
    </head>
    <body>
    <div>
        <header class="wally-header v-sheet v-sheet--tile theme--dark v-toolbar v-app-bar v-app-bar--clipped v-app-bar--fixed" data-booted="true" style="height: 64px; margin-top: 0px; transform: translateY(0px); left: 0px; right: 0px; background-color: rgb(0, 51, 102); border-color: rgb(0, 51, 102);">
            <div class="v-toolbar__content" style="height: 64px;">
                <svg class="logo"
                     version="1.1"
                     id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 156.7 43.5" style="enable-background:new 0 0 156.7 43.5;" xml:space="preserve"
                     width="150">
                    <style type="text/css">
                        .st0{fill:#FDB913;}
                        .st1{fill:#FFFFFF;}
                        .st2{fill:#4C81AF;}
                        .st3{fill:none;}
                    </style>
                                    <title>17_gov3_bc_logo</title>
                                    <rect x="76.2" y="41.4" class="st0" width="68.5" height="0.8"/>
                                    <path class="st1" d="M9.6,35.8c9.7,0,23.2,5.5,33,5.5c7,0,13.8-1.9,17.7-4.6c2.5-16.2-8.6-31.3-24.7-33.8S4.3,11.5,1.8,27.6
                        c-0.5,3-0.5,6.1,0,9.1C4.4,36.2,7,35.9,9.6,35.8z"/>
                                    <polygon class="st0" points="50.1,24.9 51.3,25.4 53.9,23.6 "/>
                                    <path class="st0" d="M6.5,22.9l-3.1-1.1l0.2-0.4L7,22.6l0,0l0.5-0.3h0.2l-3.8-1.7l0.2-0.4l8.4,3.4h0.3l-8.4-4.2L4.6,19l8.9,4.1h0.1
                        L5,18.2l0.2-0.4l12.4,6.8l0.4-0.7c-3-2.8-6.1-5.4-9.3-7.8c3.4,2.2,6.9,4.2,10.5,6l0.5-0.7L9.2,12.2l0.3-0.3l8.5,7.3l-7.9-7.9
                        l0.3-0.3l8.9,8.6L11,10.4l0.3-0.3l7.7,8.2l-7-8.8l0.3-0.3l9,10.9l0.7-0.5c-1.7-3.7-3.6-7.2-5.7-10.7c2.3,3.3,4.8,6.5,7.4,9.5
                        l0.8-0.4l0,0L18.1,5.5l0.4-0.2l5.2,10L19.3,4.9l0.4-0.2l5,11.3L20.5,4.4h0.4l4,10.5L21.7,4h0.4l4.2,13.4l0,0l0.9-0.2
                        C27,13.1,26.6,9,25.9,5c0.9,3.9,2,7.7,3.3,11.5H30l-1.1-14h0.4l1.1,11.2L30.2,2.5h0.4L31,14.9l0.4-12.4H32l-0.2,11.2l1-11.2h0.4
                        l-1.1,14H33c1.3-3.7,2.4-7.5,3.3-11.4C35.7,9,35.2,13,35,17l0.8,0.3L40,3.9h0.4l-3.2,10.9l4-10.5h0.4l-4.2,11.8l5-11.3L42.8,5
                        l-4.3,10.3l5.2-10l0.4,0.2L37.8,18l0,0l0.8,0.4c2.6-3,5.1-6.1,7.4-9.4c-2.1,3.4-3.9,7-5.6,10.6l0.7,0.6l8.7-10.9l0.3,0.3l-7,8.8
                        l7.7-8.2l0.3,0.3l-8.3,9.2l8.9-8.6l0.3,0.3l-7.9,7.9l8.5-7.3l0.3,0.3l-10.4,9.2l0,0l0.5,0.6c3.6-1.8,7-3.8,10.4-6
                        c-3.2,2.4-6.3,5-9.2,7.7l0.5,0.8l12.2-6.7l0.2,0.4l-9.8,5.5l10.2-4.7l0.2,0.4l-9.5,4.6h0.2l9.6-3.8l0.2,0.4l-9,3.8h0.2l6-2l0.9-0.6
                        l0.3,0.2l2-0.6l0.2,0.4l-1.7,0.6l2.4,1.9l0.8,0.4C56.4,8.7,40.2-1.2,24.1,2.6C12.9,5.3,4.2,14.2,1.8,25.5l0,0l0.4-0.2h0.2L6.5,22.9z
                        "/>
                                    <path class="st2" d="M1.5,37.3c2.7-0.5,5.4-0.8,8.1-0.9c9.7,0,23.2,5.5,33,5.5c7.2,0,14.2-2,18-4.8c0.7-4.1,0.6-8.2-0.4-12.2
                        l-4.1-2.3l-4.8,3.3l-3.2-1.2c-1.1,0.5-7.8,5-7.8,5l-2.6-1.9L35,27.3l-3.7-2.7l-4.2,2.9l-4.9,2.7c-0.2,0-5.7-4.4-5.7-4.4L14,23.2
                        l-2.2,1.1h-0.1L10,23.8l-2-1.1l-6.2,2.8H1.7C0.9,29.4,0.8,33.4,1.5,37.3z"/>
                                    <path class="st1" d="M100.3,21.2h-0.6c-0.2,0.3-0.2,0.6,0,0.9h4.8c0.1-0.1,0.2-0.3,0.2-0.5c0-0.2-0.1-0.3-0.2-0.4h-0.6
                        c-0.8,0-0.8-0.2-0.8-1.8v-5.6c0-1.6,0-2,0.8-2h0.5c0.2,0,0.3,0,0.3-0.3s-0.2-0.4-0.4-0.4h-4.6c-0.1,0.1-0.2,0.3-0.2,0.5
                        c0,0.1,0.1,0.2,0.2,0.2h0.6c0.8,0,0.8,0.3,0.8,1.8v5.7C101.1,21.1,101.1,21.1,100.3,21.2z M88.4,21.2h-0.7c-0.2,0.3-0.2,0.6,0,0.9
                        h5.2c0.2-0.3,0.2-0.6,0-0.9H92c-0.7,0-0.7-0.3-0.7-1V17h0.2c1.2,0,1.2,0,1.7,1l2,3.5l0,0c0.2,0.4,0.5,0.6,0.9,0.6h2.4
                        c0.2-0.2,0.3-0.6,0.1-0.9h-0.8c-0.4-0.1-0.5-0.3-0.8-0.7l0,0l-1.6-2.7l-0.6-1.1c1.4-0.2,2.4-1.4,2.5-2.8c0-2.1-2.1-2.8-3.9-2.8h-5.7
                        v0.2l0,0c0,0.2,0,0.5,0.2,0.6h0.6c0.9,0.1,0.9,0.1,0.9,1V20l0,0C89.2,21.1,89.1,21.2,88.4,21.2z M91.3,12.1h1.2
                        c1.2,0,2.4,0.6,2.4,1.9c0,0.6-0.2,1.2-0.7,1.5C93.6,15.8,93,16,92.3,16h-1V12.1z M154.9,36.3h-0.4c-0.4-0.1-0.5-0.6-0.7-1.1V35
                        l-3.5-8.3c0,0-0.2-0.6-0.5-0.6s-0.6,0.5-0.7,0.7l-3.4,8.5c-0.2,0.5-0.4,1-0.8,1H144c-0.2,0.3-0.3,0.6-0.1,0.9h3.9
                        c0.2-0.3,0.2-0.6,0-0.9h-0.7c-0.5,0-0.5-0.1-0.5-0.3c0-0.2,0.1-0.3,0.2-0.5l0.5-1.3c0,0,0.2-0.6,0.5-0.6h2.7c0.5,0,0.6,0.7,0.6,0.7
                        l0.4,1.1l0.3,0.7c0,0.1-0.1,0.3-0.7,0.3h-0.9c-0.2,0.3-0.2,0.6,0,0.9h4.8c0.3,0,0.3-0.2,0.3-0.6c0-0.2-0.1-0.3-0.3-0.3l0,0
                        L154.9,36.3z M150.2,32.3h-2.4l1.2-3.2l1.3,3.2H150.2z M105.2,13.4L105.2,13.4c0.1,0.2,0.3,0.3,0.5,0.3c0,0,0.3,0.1,0.4-0.1
                        c0.2-0.4,0.4-0.8,0.6-1.1c0.5-0.4,1.1-0.6,1.7-0.5h1.1v8.2c0,0.7,0,1-0.6,1H108c-0.2,0.3-0.2,0.6,0,0.9h5c0.1-0.1,0.2-0.3,0.2-0.5
                        c0-0.2-0.1-0.3-0.2-0.4h-0.7c-0.7,0-0.7-0.3-0.7-1.5l0,0V12h1.4c0.6-0.1,1.1,0.2,1.5,0.6c0.2,0.2,0.3,0.6,0.3,0.9h1
                        c0-0.7,0-1.5,0.2-2.2l0,0v-0.4h-0.9c-0.2,0.3-0.2,0.3-1,0.3h-6.3c-0.8,0-1,0-1.1-0.3h-0.9c-0.1,0.7-0.3,1.4-0.6,2.1l0,0
                        C105.2,13.1,105.2,13.3,105.2,13.4z M123.5,21.9L123.5,21.9c1,0.4,2,0.5,3,0.5h0.2c2.6,0,4.3-1.4,4.3-3.3s-0.8-2.5-2.6-3.4l-1.5-0.8
                        c-0.7-0.4-1.5-1-1.5-1.7s0.7-1.5,2-1.5h0.3c1,0,1.8,0.7,2,1.6h1.1v-0.2c0-0.7-0.1-1.4-0.4-2.1h-0.9l-1.8-0.2l0,0
                        c-2.9,0.1-4.2,1.6-4.1,3.2c0.2,1.3,1,2.5,2.3,3l1.8,1c1.3,0.7,1.4,1.4,1.4,2s-0.6,1.6-2.1,1.6h0c-1.3,0-2.5-0.8-2.9-2.1
                        c-0.1-0.2-0.2-0.3-0.4-0.3H123c0,0.8,0.2,1.6,0.5,2.3V21.9z M117.5,21.3h-0.4c-0.2,0.2-0.2,0.6,0,0.8h4.8c0.1-0.1,0.2-0.3,0.2-0.5
                        c0-0.2-0.1-0.3-0.2-0.4h-0.6c-0.8-0.1-0.8-0.1-0.8-1.7v-5.6c0-1.7,0-2,0.8-2h0.5c0.2-0.1,0.4-0.1,0.3-0.4c0-0.2-0.2-0.4-0.4-0.4l0,0
                        h-4.6c-0.1,0.1-0.2,0.3-0.2,0.5c0,0.2,0.1,0.2,0.2,0.3h0.6c0.8,0,0.8,0.1,0.8,1.8v5.6c-0.1,1.8-0.1,1.8-0.9,1.9L117.5,21.3z
                         M132.3,12h0.6c0.6,0,0.7,0.1,0.7,1.8v6.1c0,1.2-0.1,1.3-0.7,1.3h-0.6c-0.2,0.3-0.2,0.6,0,0.9h4.6c0.1-0.1,0.2-0.3,0.2-0.5
                        c0-0.2-0.1-0.3-0.2-0.4h-0.5c-0.5,0-0.7-0.2-0.7-1.7v-2.2c0-0.1,0-0.1,0-0.2h5.8c0,0.1,0,2.8,0,2.8s0,1.3-0.7,1.3h-0.5
                        c-0.2,0.3-0.2,0.6,0,0.9h4.5c0.1-0.1,0.2-0.3,0.2-0.5c0-0.2-0.1-0.3-0.2-0.4h-0.6c-0.7,0-0.7-0.1-0.7-1.6v-5.9c0-1.6,0-1.6,0.7-1.7
                        h0.4c0.2,0,0.4-0.3,0.3-0.5c0,0,0,0,0,0c0-0.2-0.2-0.4-0.4-0.4h-4.3c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.2,0.1,0.4,0.2,0.5h0.4
                        c0.8,0,0.8,0.1,0.8,1.7c0,0,0,2,0,2.1h-5.8c0-0.1,0-2,0-2c0-1.6,0-1.8,0.6-1.8h0.5c0.3,0,0.3-0.2,0.3-0.5s0-0.4-0.4-0.4h-4.3
                        c-0.1,0.1-0.2,0.2-0.2,0.4C132.1,11.7,132.2,11.9,132.3,12z M142.5,27h0.5c0.2,0,0.3-0.2,0.3-0.4c0-0.2-0.3-0.4-0.5-0.4h-4.7
                        c-0.2,0.2-0.2,0.4-0.2,0.6c0,0.1,0.1,0.2,0.2,0.3h0.6c0.8,0,0.8,0.1,0.8,1.9v5.7c0,1.6,0,1.6-0.8,1.7h-0.6c-0.2,0.3-0.2,0.6,0,0.9
                        h4.9c0.1-0.1,0.2-0.3,0.2-0.5c0-0.2-0.1-0.3-0.2-0.4h-0.6c-0.8-0.1-0.8-0.1-0.8-1.7v-5.8c0-1.7,0-1.9,0.6-1.9L142.5,27z M100.1,34.5
                        h-0.8c-0.2,0.6-0.6,1.1-1.1,1.5c-0.6,0.2-1.1,0.2-1.7,0.2h-0.2c-0.6,0.1-1.1,0-1.6-0.3c-0.2-0.2-0.4-0.4-0.4-1.4v-5.7
                        c0-1.6,0.2-1.7,1-1.7h0.5c0.2,0,0.3-0.1,0.3-0.5c0-0.2-0.2-0.4-0.4-0.4l0,0h-4.9c-0.1,0.1-0.2,0.3-0.2,0.5c0,0.2,0.1,0.3,0.2,0.4
                        h0.6c0.9,0,0.9,0.1,0.9,1.8v5.8c0,1.6,0,1.7-0.8,1.7h-0.7c-0.2,0.3-0.2,0.6,0,0.9h8.8c0.3-0.7,0.6-1.5,0.8-2.3
                        C100.5,34.8,100.3,34.6,100.1,34.5C100.1,34.5,100.1,34.5,100.1,34.5z M89.3,27.6c-1.2-1.2-2.9-1.9-4.6-1.8h-0.3
                        c-3.2,0-5.8,2.6-5.8,5.8c0,0.1,0,0.1,0,0.2c0,2.9,2,5.7,6.1,5.7h0.2c3.3,0.1,5.9-2.5,6-5.8c0,0,0,0,0,0l0,0
                        C90.9,30.2,90.4,28.7,89.3,27.6z M84.9,36.5c-1.6,0-4.2-1.2-4.2-5.3s2.2-4.4,3.7-4.4s4.3,2.1,4.3,4.9v0.5
                        C88.6,34.4,87.5,36.5,84.9,36.5z M126.7,36.3h-0.6l-0.6-0.2c-0.1-0.1-0.2-0.2-0.2-0.4l0,0V28c0-0.3,0-0.5,0.1-0.8
                        c0.1-0.2,1.1-0.2,1.1-0.2s0.2-0.1,0.2-0.2s0.1-0.5-0.1-0.7H124c-0.5,0-0.6,0.3-0.7,0.6l-3.5,7.4l-3-7.4c-0.1-0.4-0.3-0.6-0.6-0.6
                        H113l-0.3,0.2c0,0.3-0.1,0.5,0.2,0.7h1c0.2,0,0.3,0.2,0.3,0.7l-0.2,7.6c-0.1,0.8-0.2,1-0.8,1h-0.8c-0.2,0.3-0.1,0.6,0.1,0.9h4.2
                        c0.2-0.3,0.2-0.6,0-0.9h-0.8c-0.2,0-0.5-0.1-0.6-0.3c-0.2-0.4-0.2-0.9-0.1-1.4v-6.3l3.4,8.4l0,0c0.1,0.2,0.3,0.3,0.5,0.3h0.4
                        l3.9-8.5v6.8c0,0.2,0,0.3,0,0.5l0,0c0,0.2-0.1,0.3-0.2,0.4l-0.6,0.2h-0.8c-0.2,0.3-0.2,0.6,0,0.9h5C127,37,127,36.6,126.7,36.3z
                         M111.7,26.1h-4.2c-0.2,0.2-0.3,0.5-0.1,0.8h1.3c0.2,0.3,0.2,3.5,0.2,5.2s-1.6,4-3.1,4s-3-1.2-3-4v-3.7c0-1.3,0-1.4,0.7-1.4h0.6
                        c0.2-0.1,0.3-0.2,0.2-0.5s-0.1-0.4-0.3-0.4h-4.6c-0.1,0.1-0.2,0.3-0.2,0.5c0,0.2,0.1,0.3,0.2,0.4h0.7c0.7,0,0.7,0,0.7,1.6v3.9
                        c-0.1,1.5,0.5,3,1.6,4c0.9,0.6,1.9,1,3,1h0.3c1.3,0,2.5-0.5,3.5-1.3c1-1.1,1.1-2.1,1.1-4.1c0-1.6,0.1-3.3,0.2-4.9
                        c0.1-0.1,0.3-0.2,0.5-0.2h0.7c0.2-0.1,0.2-0.2,0.2-0.5C111.9,26.3,111.8,26.2,111.7,26.1z M76.9,10.4c0.6,0,0.7,0.1,0.7,1.5v7.2
                        c0,1.9,0,1.9-0.9,2.1h-0.6c-0.2,0.2-0.3,0.5-0.1,0.8h5.2c3.7,0,5.8-1.5,5.8-4.1c-0.1-1.6-1.3-3-2.9-3.2c1.1-0.4,1.8-1.4,1.8-2.6
                        c-0.1-1-0.6-1.8-1.5-2.3c-1-0.4-2-0.6-3.1-0.6h-0.5l-4.5,0.2c-0.1,0-0.3,0.2-0.3,0.3c-0.1,0.3,0,0.5,0.2,0.7H76.9z M84.7,18.7
                        c0,1.9-1.6,2.3-3,2.3h-0.2c-0.4,0-0.9-0.1-1.2-0.4c-0.3-0.5-0.4-1.2-0.4-1.8V16h0.9C84.2,15.8,84.7,17.7,84.7,18.7z M79.9,10.5h1
                        c1.3,0,2.8,0.6,2.8,2.2s-0.5,2-3,2.1h-0.8v-4.1C79.9,10.6,79.9,10.6,79.9,10.5z M77.6,33.6h-0.5c-0.5,1.6-2,2.6-3.6,2.6h-0.2
                        c-3.3,0-5.5-2.5-5.5-6.1c-0.2-2.9,2.1-5.4,5-5.6c0.1,0,0.1,0,0.2,0c2.5,0,3.3,0.9,3.7,2.6h1.2c-0.2-0.9-0.3-1.9-0.3-2.8V24h-0.7
                        c-1.1-0.3-2.3-0.5-3.5-0.5H73c-1.9,0-3.7,0.6-5.2,1.7c-1.6,1.3-2.6,3.4-2.5,5.5c-0.1,2.2,1,4.4,2.9,5.6c1.4,0.9,3,1.4,4.7,1.4h0.3
                        c1.1,0,2.2-0.2,3.2-0.5L77,37h0.2c0.5-0.9,0.9-1.8,1-2.8l0,0C78.2,33.9,77.9,33.6,77.6,33.6z M135.3,31c1.2-0.5,1.8-1.9,1.3-3.1
                        c-0.3-0.7-0.8-1.2-1.4-1.4c-1-0.3-2-0.4-3-0.4h-4.3l-0.3,0.2c-0.1,0.2-0.1,0.5,0.1,0.7h0.8c0.6,0,0.6,0.1,0.6,1.3v6.3
                        c0,1.6,0,1.6-0.7,1.7h-0.5c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.2,0.1,0.4,0.2,0.5h4.7c4.2,0,5.2-0.9,5.2-3.6c-0.2-1.3-1.3-2.4-2.6-2.6
                        L135.3,31z M131.2,27h0.9c1.2,0,2.6,0.5,2.6,1.9s-0.6,1.8-2.8,1.8h-0.7C131.2,30.7,131.2,27,131.2,27z M131.6,36
                        c-0.3-0.2-0.5-1-0.5-1.5v-2.7h1c2.8,0,3.4,1.4,3.4,2.6s-1.5,1.9-2.8,1.9C132.3,36.3,131.9,36.2,131.6,36L131.6,36z"/>
                                <rect x="116.9" y="36.6" class="st3" width="0.6" height="0.6"/>
                </svg>
                <div class="v-toolbar__title bcgov-title">
                 Water Allocation
                </div>
            </div>
        </header>
    </div>
    <div>
        <div class="message">
            <p>
                Welcome to the Water Allocation (WALLY) application.
                It looks like you need to be granted access.
            </p>
            <p>
                Please <a href="mailto:Lindsay.Macfarlane@gov.bc.ca?subject=Access Request to WALLY">contact us</a> for help.
            </p>
        </div>
    </div>
    </body>
    </html>
kind: ConfigMap
metadata:
  name: gatekeeper-config
