Skip to content

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented Jan 23, 2026

Part of #2993.

Includes two new configuration into ~/.elastic-package/config.yml to allow overriding the defaults URLs used by elastic-package when executing elastic-package status.
Example:

stack:
    image_ref_overrides: {}
profile:
    current: default

## New configuration fields
status:
  package_registry:
    base_url: "https://epr.elastic.co"
  kibana_repository:
    base_url: "https://raw.githubusercontent.com/elastic/kibana"

Default values will keep the same:

Author's checklist

  • Test with custom package-registry and kibana URLs in elastic-package status.
  • Ensure that elastic-package keeps using the default URLs if they are not specified in the config.
  • Update documentation

How to test this PR locally

  • Edit ~/.elastic-package/config.yml including:
status:
  package_registry:
    base_url: "https://epr-staging.elastic.co"
  kibana_repository:
    base_url: "https://raw.githubusercontent.com/mrodm/kibana"
  • Run elastic-package status with different parameters:
go run github.com/elastic/elastic-package -C test/packages/parallel/nginx status -vv
go run github.com/elastic/elastic-package -C test/packages/parallel/nginx status -vv --info kibana.version,serverless.project_types

@mrodm mrodm self-assigned this Jan 23, 2026
@mrodm mrodm force-pushed the status-command-custom-urls branch from 2d18734 to f5a03da Compare January 23, 2026 19:28
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

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