Skip to content
Snippets Groups Projects
Commit dd021ee0 authored by Elliott Street's avatar Elliott Street
Browse files

Merge branch 'elliott/validate-rbac-template' into 'master'

Validate RBAC template

See merge request !45
parents 4a11bd82 828e072e
Branches
Tags 6.3.0
1 merge request!45Validate RBAC template
Pipeline #338310 failed
.validate-rbac:
stage: test
# Performs static analysis of RBAC file
image: ${SIDECAR_IMAGE}:${SIDECAR_TAG}
variables:
# Pass in the same variables that would normally be passed to the sidecar in the infrastructure template.
ENVOY_CONFIG_FILE: "envoy-with-auth-rbac"
RBAC_FILE: ".infrastructure/rbac.yml"
LISTEN_PORT: "5000"
SERVICE_DISCOVERY_PORT: "8080"
SERVICE_DISCOVERY_ADDRESS: "foo.bar"
HEALTHCHECK_PATH: "/health_check"
AUTHZ_HOST: "authz.iwoca.aws"
AUTHZ_PORT: "10003"
ENVOY_MODE: validate
script:
- export RBAC_ENCODED=$(base64 -w 0 < $RBAC_FILE)
- /start-envoy.sh
tags:
- docker
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment