Skip to content

Commit

Permalink
Add AAP operator to perf setup tool (#884)
Browse files Browse the repository at this point in the history
* Add AAP operator to perf setup tool

* Fix
  • Loading branch information
rajivnathan authored Jan 22, 2024
1 parent 5c2eefd commit a4477ae
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions setup/operators/installtemplates/ansible-automation-platform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: install-ansible-automation-platform
objects:
- apiVersion: v1
kind: Namespace
metadata:
name: ${AAP_NAMESPACE}
- apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: aap-operator-group
namespace: ${AAP_NAMESPACE}
- apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: aap-operator
namespace: ${AAP_NAMESPACE}
spec:
channel: stable-2.4-cluster-scoped
installPlanApproval: Automatic
name: ansible-automation-platform-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
parameters:
- name: AAP_NAMESPACE
value: ansible-automation-platform
1 change: 1 addition & 0 deletions setup/operators/operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ var Templates = []string{
"serverless-operator.yaml",
"web-terminal-operator.yaml",
"gitops-primer-template.yaml",
"ansible-automation-platform.yaml",
"kiali.yaml", // OSD comes with an operator that creates CSVs in all namespaces so kiali is being used in this case to mimic the behaviour on OCP clusters
}

Expand Down

0 comments on commit a4477ae

Please sign in to comment.