fluzzykitten
4720d29fda
Update k8s_exec and k8s_cp to include container name ( #1858 )
...
Update secrets.yml
We need to specify a container in environments that use sidecar injection, like in the case of istio service mesh. If the container is not specified, and a side car is injected so there are multiple containers running in the pod, this task will fail because a container was not specified in a pod with multiple containers.
2024-05-16 16:32:38 -04:00
Christian Adams
64e4279d96
Fix innocuous but confusing typo in db management pod task ( #1859 )
2024-05-16 15:17:39 -04:00
romankuzmik
669fe1d253
1586: awx-operator restore from PVC is not working ( #1603 )
...
Co-authored-by: Roman Kuzmik <rkuzmik@cisco.com >
2023-11-09 09:39:27 -05:00
Christian Adams
7d2d1b3c5e
Upgrade to Operator SDK v1.22.2 ( #1001 )
...
* Upgrade to Operator SDK 1.16.0
* Upgrade Operator SDK to v1.22.2 & bump base image version
2022-08-22 18:54:56 -04:00
Yanis Guenane
fc713e7b73
Properly apply default when env lookup returns empty
2021-11-02 09:57:04 +01:00
Christian M. Adams
7eb6d0e0f5
Set default images, but use them as a last resort
...
* Only use them if user did not set an image, or RELATED_IMAGES_ var
is not set
Signed-off-by: Christian M. Adams <chadams@redhat.com >
(cherry picked from commit bb957be9e6 )
2021-11-01 14:58:24 +01:00
Christian M. Adams
29879f7064
Rename related image vars to be distinct across operators
2021-10-27 11:26:51 -04:00
Christian M. Adams
8aee279634
Use relatedImages to make disconnected deployments possible
...
* Add ability to pass images in from the CSV for disconnected installs
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-10-26 00:26:16 -04:00
Shane McDonald
8b64670146
Work around bug in k8s module with the "template" attribute
2021-09-29 20:24:00 -04:00
Shane McDonald
e97def4429
meta -> ansible_operator_meta
2021-09-29 18:39:24 -04:00
Christian M. Adams
8af0681373
Persist secret names from old deployment & add them to the spec
...
- renamed some more variables to be consistent with the pulp-operator
- removed unneeded vars from backup & restore crds
- added a way to parse spec at restore time by including vars to
get around the issue of triply nested quotes when using to_json
2021-05-04 10:06:29 -04:00
Christian M. Adams
5ae36367a4
Rename product specific variable names
2021-04-30 10:49:31 -04:00
Christian M. Adams
c817a2234d
Simplify vars needed for restore CR & do not garbage collect secrets
2021-04-30 10:49:31 -04:00
Christian M. Adams
57f9530198
Simplify pvc naming scheme, one pvc per deployment
2021-04-30 10:49:31 -04:00
Christian M. Adams
ff9248e971
create pvc in namespace of old awx by default, update docs, fix bug with secret statuses
2021-04-30 10:49:30 -04:00
Christian M. Adams
82efe05343
store secrets & definitions in a tempfile dir, fix postgres label
2021-04-30 10:24:36 -04:00
Christian M. Adams
2cbf60fa17
Remove unneeded fqcn for modules & fix CI
2021-04-30 10:24:36 -04:00
Christian M. Adams
ce8c58f542
added secrets logic, fixed permissions issues
2021-04-30 10:24:36 -04:00
Christian M. Adams
5669747bbf
Scope pvc and management pod to default namespace
...
- make this configurable via tower_backup_pvc_namespace var
- remove redundant k8s task info
2021-04-30 10:24:36 -04:00
Christian M. Adams
8467209d35
init restore
2021-04-30 10:24:35 -04:00