Skip to content

Make staging.auth optional instead of mandatory - #5567

Merged
kathap merged 1 commit into
mainfrom
make-staging-auth-optional
Oct 29, 2026
Merged

kathap merged 1 commit into
mainfrom
make-staging-auth-optional

Conversation

@kathap

@kathap kathap commented Oct 22, 2026

Copy link
Copy Markdown
Contributor
  • A short explanation of the proposed change:
    Make staging.auth optional in all four ccng config schemas (api, worker, clock, deployment_updater).

  • An explanation of the use cases your change solves
    staging.auth (backed by BOSH properties cc.staging_upload_user/password) is only used by the local blobstore (local/local-temp-storage blobstore types, where local? = true). The local blobstore is only meaningful for local development — in a real BOSH deployment there is always more than one CC instance, so a local blobstore cannot be shared. All supported BOSH deployments use storage-cli (e.g. DAV, Azure, S3), where local? = false and staging.auth is never consulted. Making the field optional allows BOSH deployments to omit staging.auth from the config (once capi-release stops rendering it) without failing schema validation, while local dev setups that still supply it continue to work unchanged.

  • Links to any other associated PRs
    Remove local blobstore support from capi-release capi-release#710

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@kathap
kathap marked this pull request as draft October 22, 2026 10:40
@kathap
kathap marked this pull request as ready for review October 22, 2026 11:44

@serdarozerr serdarozerr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kathap
kathap merged commit 492152c into main Oct 29, 2026
11 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Oct 29, 2026
Changes in cloud_controller_ng:

- Make staging.auth optional instead of mandatory
    PR: cloudfoundry/cloud_controller_ng#5567
    Author: Katharina Przybill <30441792+kathap@users.noreply.github.com>
@moleske
moleske deleted the make-staging-auth-optional branch October 29, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants