-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ansible issue when using golang templating
This patch introduces the usage of files/ instead of hardcoded spec. This would likely avoid issues when we use golang templates and we can mantain files with per-backend configuration. Signed-off-by: Francesco Pantano <[email protected]>
- Loading branch information
Showing
4 changed files
with
42 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
spec: | ||
glance: | ||
enabled: true | ||
apiOverrides: | ||
default: | ||
route: {} | ||
template: | ||
databaseInstance: openstack | ||
storageClass: "local-storage" | ||
storageRequest: 10G | ||
customServiceConfig: | | ||
[DEFAULT] | ||
enabled_backends = default_backend:swift | ||
[glance_store] | ||
default_backend = default_backend | ||
[default_backend] | ||
swift_store_create_container_on_put = True | ||
swift_store_auth_version = 3 | ||
swift_store_auth_address = {{ .KeystoneInternalURL }} | ||
swift_store_endpoint_type = internalURL | ||
swift_store_user = service:glance | ||
swift_store_key = {{ .ServicePassword }} | ||
glanceAPIs: | ||
default: | ||
replicas: 1 | ||
override: | ||
service: | ||
internal: | ||
metadata: | ||
annotations: | ||
metallb.universe.tf/address-pool: internalapi | ||
metallb.universe.tf/allow-shared-ip: internalapi | ||
metallb.universe.tf/loadBalancerIPs: 172.17.0.80 | ||
spec: | ||
type: LoadBalancer | ||
networkAttachments: | ||
- storage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters