DOC: Allow overriding overrides in backup during restore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Elisamara Aoki Gonçalves |
Bug Description
Brief Description
-----------------
New feature + option was added to restore playbook to allow overriding values in the backup during restore operation.
Description
In the backup there is a file that contains values for puppet.
E.g. opt/backups/
Some of these values can become out of date depending on situation.
Like if the registry credentials have changed.
To use these new overrides there are two new options:
* restore_overrides
* restore_
Examples
To override entire docker registry section:
1. Create file: restore_
---
restore_overrides:
docker_
defaults:
type: docker
username: admin
password: Hello123!
docker.
url: example.
docker.io:
url: example.
gcr.io:
url: example.
ghcr.io:
url: example.
icr.io:
url: example.
k8s.gcr.io:
url: example.
quay.io:
url: example.
registry.
url: example.
2. Run restore:
ansible-playbook restore_
-e restore_
-e "@/path/
To override only password:
1. Create file: restore_
---
restore_
restore_overrides:
docker_
defaults:
password: Hello123!
2. Run restore:
ansible-playbook restore_
-e restore_
-e "@/path/
Severity
--------
<Minor: System/Feature is usable with minor issue>
Changed in starlingx: | |
assignee: | nobody → Elisamara Aoki Gonçalves (egoncalv) |
Changed in starlingx: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/starlingx /docs/+ /921078
Review: https:/