Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config to allow access to internal staging swift #255

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,43 @@ staging:
rewrite ^ https://assets.staging.ubuntu.com/manager$request_uri? permanent;
}
more_set_headers "X-Robots-Tag: noindex";
env:
# Disable proxy for staging-swift
- name: NO_PROXY
value: .internal,ubuntu.com,.ubuntu.com,snapcraft.io,.snapcraft.io,jujucharms.com,.jujucharms.com,maas.io,.maas.io,conjure-up.io,.conjure-up.io,netplan.io,.netplan.io,canonical.com,.canonical.com,launchpad.net,.launchpad.net,linuxcontainers.org,.linuxcontainers.org,cloud-init.io,.cloud-init.io,vanillaframework.io,.vanillaframework.io,anbox-cloud.io,.anbox-cloud.io,juju.is,.juju.is,dqlite.io,.dqlite.io,charmhub.io,.charmhub.io,staging-swift
# Postgres
- name: DATABASE_URL
secretKeyRef:
key: database-url
name: assets-ubuntu-swift-staging

# Swift
- name: OS_AUTH_URL
secretKeyRef:
key: os-auth-url
name: assets-ubuntu-swift-staging

- name: OS_USERNAME
secretKeyRef:
key: os-username
name: assets-ubuntu-swift-staging

- name: OS_PASSWORD
secretKeyRef:
key: os-password
name: assets-ubuntu-swift-staging

- name: OS_AUTH_VERSION
secretKeyRef:
key: os-auth-version
name: assets-ubuntu-swift-staging

- name: OS_TENANT_NAME
secretKeyRef:
key: os-tenant-name
name: assets-ubuntu-swift-staging

- name: OS_REGION_NAME
secretKeyRef:
key: os-region-name
name: assets-ubuntu-swift-staging
Loading