Skip to content

Commit 53ebae6

Browse files
jmckulkjkatz
authored andcommitted
Moves ansible directory into installers
The installers directory was created to hold the new versions of installers. This commit moves the ansible installer follow this pattern.
1 parent 3ae35af commit 53ebae6

File tree

104 files changed

+56
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+56
-5
lines changed

ansible/crunchy_logo.png

-165 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[defaults]
22
retry_files_enabled = False
3+
remote_tmp=/tmp
34

45
[ssh_connection]
56
ssh_args = -o ControlMaster=no
Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,57 @@ localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env pyth
55
crunchy_debug='false'
66

77
# ==================
8-
# Kubernetes and OpenShift Settings
9-
# Note: Either Kubernetes or OpenShift must be used
8+
# Installation Methods
9+
# One of the three following blocks must be updated:
10+
# - Deploy with PostgreSQL Operator Installer (pgo-installer)
11+
# - Deploy into Kubernetes
12+
# - Deploy into Openshift
13+
14+
# Deploy with PostgreSQL Operator Installer (pgo-installer)
15+
# ==================
16+
# Note: Enable kubernetes_in_cluster if you are using the pgo-installer image
17+
# to install the operator
18+
# ==================
19+
#kubernetes_in_cluster='false'
20+
21+
# use_cluster_admin enables the installer to create resources with cluster-admin
22+
# permissions
23+
# Note: Cluster-admin is required
24+
# use_cluster_admin='true'
25+
26+
# Defines the environment where the installer will run. Options are kubernetes
27+
# and openshift.
28+
# Default: kubernetes
29+
# pgo_installer_environment='kubernetes'
30+
31+
# These options name the resources that are created when the pgo-installer
32+
# ansible roles are run. If you create the resources manually, provide your
33+
# resources names here.
34+
35+
# Defines the namespace in which the install job will run.
36+
# pgo_installer_namespace='pgo-install'
37+
38+
# Defines the name of the service account used by the pgo-installer.
39+
# Note: This service account is only created if use_cluster_admin is true
40+
# pgo_installer_sa='pgo-installer-sa'
41+
42+
# Defines the name of the clusterrolebinding used by the pgo-installer
43+
# Note: This clusterrolebinding is only created if use_cluster_admin is true
44+
# pgo_installer_crb='pgo-installer-crb'
45+
46+
# Defines the name of the configmap that stores the inventory file for the
47+
# PostgreSQL Operator install.
48+
# pgo_installer_configmap='pgo-installer-inventory'
49+
50+
# If the following options are enabled the installer will create the resources
51+
# needed by the pgo-install job. If you create these resources manually, these
52+
# options can be disabled. If these resource are not enabled here they must be
53+
# created manually
54+
55+
# Defines the environment where the installer will run. Options are kubernetes
56+
# and openshift.
57+
# Default: kubernetes
58+
# pgo_installer_environment='kubernetes'
1059

1160
# Deploy into Openshift
1261
# ==================
@@ -106,8 +155,9 @@ pgo_client_version='v4.3.0'
106155
# PGO Event Settings
107156
#pgo_disable_eventing='false'
108157

109-
# Set to 'true' to assign the cluster-admin role to the PGO service account. Needed for
110-
# OCP installs to enable dynamic namespace creation (see the PGO docs for more details).
158+
# Set to 'true' to assign the cluster-admin role to the PGO service account.
159+
# Needed for OCP installs to enable dynamic namespace creation
160+
# (see the PGO docs for more details).
111161
#pgo_cluster_admin='false'
112162

113163
# This will set default enhancements for operator deployed PostgreSQL clusters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ansible/roles/pgo-metrics/tasks/kubernetes_auth.yml renamed to installers/ansible/roles/pgo-metrics/tasks/kubernetes_auth.yml

File renamed without changes.

0 commit comments

Comments
 (0)