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

refactor(snap): Remove explicit config provider addresses #4396

Merged
merged 1 commit into from
Mar 1, 2023
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
10 changes: 5 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ apps:
# This generates the consul role for this service before the service starts
- security-consul-bootstrapper
- security-proxy-setup
command: bin/core-metadata --configDir $SNAP_DATA/config/core-metadata/res --configProvider consul.http://localhost:8500 --registry
command: bin/core-metadata --configDir $SNAP_DATA/config/core-metadata/res --configProvider --registry
command-chain:
- bin/service-config-overrides.sh
environment:
Expand All @@ -302,7 +302,7 @@ apps:
# This generates the consul role for this service before the service starts
- security-consul-bootstrapper
- security-proxy-setup
command: bin/core-command --configDir $SNAP_DATA/config/core-command/res --configProvider consul.http://localhost:8500 --registry
command: bin/core-command --configDir $SNAP_DATA/config/core-command/res --configProvider --registry
command-chain:
- bin/service-config-overrides.sh
environment:
Expand All @@ -319,7 +319,7 @@ apps:
# This generates the consul role for this service before the service starts
- security-consul-bootstrapper
- security-proxy-setup
command: bin/support-notifications --configDir $SNAP_DATA/config/support-notifications/res --configProvider consul.http://localhost:8500 --registry
command: bin/support-notifications --configDir $SNAP_DATA/config/support-notifications/res --configProvider --registry
command-chain:
- bin/service-config-overrides.sh
environment:
Expand All @@ -336,7 +336,7 @@ apps:
# This generates the consul role for this service before the service starts
- security-consul-bootstrapper
- security-proxy-setup
command: bin/support-scheduler --configDir $SNAP_DATA/config/support-scheduler/res --configProvider consul.http://localhost:8500 --registry
command: bin/support-scheduler --configDir $SNAP_DATA/config/support-scheduler/res --configProvider --registry
command-chain:
- bin/service-config-overrides.sh
environment:
Expand All @@ -358,7 +358,7 @@ apps:
core-common-config-bootstrapper:
after:
- security-consul-bootstrapper
command: bin/core-common-config-bootstrapper --configDir $SNAP_DATA/config/core-common-config-bootstrapper/res --configFile configuration.yaml --configProvider consul.http://localhost:8500 --registry
command: bin/core-common-config-bootstrapper --configDir $SNAP_DATA/config/core-common-config-bootstrapper/res --configFile configuration.yaml --configProvider --registry
environment:
SECRETSTORE_TOKENFILE: $SNAP_DATA/secrets/core-common-config-bootstrapper/secrets-token.json
daemon: oneshot
Expand Down