Skip to content

Commit e42b031

Browse files
authored
AAP-32794 updates (#2378)
* AAP-32794 updates * PR suggestions
1 parent 1320d17 commit e42b031

File tree

2 files changed

+48
-25
lines changed

2 files changed

+48
-25
lines changed

downstream/modules/platform/proc-cli-get-controller-pwd.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ The address for the platform gateway instance is `example-ansible-automation-pla
3434

3535
== Fetching the platform gateway password
3636

37-
The YAML block for the platform gateway instance in [filename]`sub.yaml` assigns values to the _name_ and _admin_user_ keys.
37+
The YAML block for the platform gateway instance in the `AnsibleAutomationPlatform` object assigns values to the _name_ and _admin_user_ keys.
3838
Use these values in the following command to fetch the password for the platform gateway instance.
3939

4040
-----
4141
oc get secret/<your instance name>-<admin_user>-password -o yaml
4242
-----
4343

44-
The default value for _admin_user_ is `_admin_`. Modify the command if you changed the admin username in [filename]`sub.yaml`.
44+
The default value for _admin_user_ is `_admin_`. Modify the command if you changed the admin username in the `AnsibleAutomationPlatform` object.
4545

4646
The following example retrieves the password for a platform gateway object called `_example_`:
4747

4848
-----
4949
oc get secret/example-admin-password -o yaml
5050
-----
5151

52-
The password for the platform gateway instance is listed in the `metadata` field in the output:
52+
The base64 encoded password for the platform gateway instance is listed in the `metadata` field in the output:
5353

5454
-----
5555
$ oc get secret/example-admin-password -o yaml

downstream/modules/platform/proc-install-cli-aap-operator.adoc

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,63 @@ spec:
5555
source: redhat-operators
5656
sourceNamespace: openshift-marketplace
5757
---
58-
apiVersion: automationcontroller.ansible.com/v1beta1
59-
kind: AutomationController
60-
metadata:
61-
name: example
62-
namespace: ansible-automation-platform
63-
spec:
64-
replicas: 1
65-
6658
-----
6759
+
6860
This file creates a `Subscription` object called `_ansible-automation-platform_` that subscribes the `ansible-automation-platform` namespace to the `ansible-automation-platform-operator` operator.
6961
+
70-
It then creates an `AutomationController` object called `_example_` in the `ansible-automation-platform` namespace.
71-
+
72-
To change the {ControllerName} name from `_example_`, edit the _name_ field in the `kind: AutomationController` section of [filename]`sub.yaml` and replace `_<automation_controller_name>_` with the name you want to use:
73-
+
74-
[subs="+quotes"]
75-
-----
76-
apiVersion: automationcontroller.ansible.com/v1beta1
77-
kind: AutomationController
78-
metadata:
79-
name: __<automation_controller_name>__
80-
namespace: ansible-automation-platform
81-
-----
8262
. Run the [command]`*oc apply*` command to create the objects specified in the [filename]`sub.yaml` file:
8363
+
8464
-----
8565
oc apply -f sub.yaml
8666
-----
67+
+
68+
. Verify the CSV PHASE reports "Succeeded" before proceeding using the [command]`oc get csv -n ansible-automation-platform` command:
69+
+
70+
-----
71+
oc get csv -n ansible-automation-platform
8772
88-
To verify that the namespace has been successfully subscribed to the `ansible-automation-platform-operator` operator, run the [command]`*oc get subs*` command:
73+
NAME DISPLAY VERSION REPLACES PHASE
74+
aap-operator.v2.5.0-0.1728520175 Ansible Automation Platform 2.5.0+0.1728520175 aap-operator.v2.5.0-0.1727875185 Succeeded
75+
-----
76+
+
77+
. Create an `AnsibleAutomationPlatform` object called `_example_` in the `ansible-automation-platform` namespace.
78+
+
79+
To change the {PlatformNameShort} and its components from from `_example_`, edit the _name_ field in the `metadata:` section and replace example with the name you want to use:
8980

81+
+
82+
[subs="+quotes"]
9083
-----
91-
$ oc get subs -n ansible-automation-platform
84+
oc apply -f - <<EOF
85+
apiVersion: aap.ansible.com/v1alpha1
86+
kind: AnsibleAutomationPlatform
87+
metadata:
88+
name: example
89+
namespace: ansible-automation-platform
90+
spec:
91+
# Platform
92+
image_pull_policy: IfNotPresent
93+
# Components
94+
controller:
95+
disabled: false
96+
eda:
97+
disabled: false
98+
hub:
99+
disabled: false
100+
## Modify to contain your RWM storage class name
101+
storage_type: file
102+
file_storage_storage_class: <your-read-write-many-storage-class>
103+
file_storage_size: 10Gi
104+
105+
## uncomment if using S3 storage for Content pod
106+
# storage_type: S3
107+
# object_storage_s3_secret: example-galaxy-object-storage
108+
109+
## uncomment if using Azure storage for Content pod
110+
# storage_type: azure
111+
# object_storage_azure_secret: azure-secret-name
112+
lightspeed:
113+
disabled: true
114+
EOF
92115
-----
93116

94117
For further information about subscribing namespaces to operators, see link:{BaseURL}/openshift_container_platform/{OCPLatest}/html/operators/user-tasks#olm-installing-operator-from-operatorhub-using-cli_olm-installing-operators-in-namespace[Installing from OperatorHub using the CLI] in the {OCP} _Operators_ guide.

0 commit comments

Comments
 (0)