Skip to content

Commit

Permalink
Merge pull request #255 from canonical/add-staging-config
Browse files Browse the repository at this point in the history
Added config to allow access to internal staging swift
  • Loading branch information
samhotep authored Dec 4, 2024
2 parents 85b5b70 + 863bbc2 commit 708dacb
Showing 1 changed file with 40 additions and 0 deletions.
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

0 comments on commit 708dacb

Please sign in to comment.