Skip to content

Commit 1b2d4ed

Browse files
committed
fix 1663113. Add component image ENV vars to cluster-logging-operator
fix 1662397. Add permissions to create shared-config roles and bindings
1 parent 4d478a2 commit 1b2d4ed

22 files changed

+61
-23
lines changed

deploy/chart/catalog_resources/rh-operators/clusterlogging.v0.0.1.clusterserviceversion.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ spec:
8484
- cronjobs
8585
verbs:
8686
- "*"
87+
- apiGroups:
88+
- rbac.authorization.k8s.io
89+
resources:
90+
- roles
91+
- rolebindings
92+
verbs:
93+
- "*"
8794
- serviceAccountName: elasticsearch-operator
8895
rules:
8996
- apiGroups:
@@ -163,6 +170,18 @@ spec:
163170
fieldPath: metadata.namespace
164171
- name: OPERATOR_NAME
165172
value: "cluster-logging-operator"
173+
- name: ELASTICSEARCH_IMAGE
174+
value: "docker.io/openshift/origin-logging-elasticsearch5:latest"
175+
- name: FLUENTD_IMAGE
176+
value: "docker.io/openshift/origin-logging-fluentd:latest"
177+
- name: KIBANA_IMAGE
178+
value: "docker.io/openshift/origin-logging-kibana5:latest"
179+
- name: CURATOR_IMAGE
180+
value: "docker.io/openshift/origin-logging-curator5:latest"
181+
- name: OAUTH_PROXY_IMAGE
182+
value: "docker.io/openshift/oauth-proxy:latest"
183+
- name: RSYSLOG_IMAGE
184+
value: "docker.io/viaq/rsyslog:latest"
166185
- name: elasticsearch-operator
167186
spec:
168187
replicas: 1

manifests/0000_30_00-namespace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_00-namespace.yaml
33
apiVersion: v1
44
kind: Namespace

manifests/0000_30_01-olm-operator.serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_01-olm-operator.serviceaccount.yaml
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: ClusterRole

manifests/0000_30_02-clusterserviceversion.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_02-clusterserviceversion.crd.yaml
33
apiVersion: apiextensions.k8s.io/v1beta1
44
kind: CustomResourceDefinition

manifests/0000_30_03-installplan.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_03-installplan.crd.yaml
33
apiVersion: apiextensions.k8s.io/v1beta1
44
kind: CustomResourceDefinition

manifests/0000_30_04-subscription.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_04-subscription.crd.yaml
33
apiVersion: apiextensions.k8s.io/v1beta1
44
kind: CustomResourceDefinition

manifests/0000_30_05-catalogsource.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_05-catalogsource.crd.yaml
33
apiVersion: apiextensions.k8s.io/v1beta1
44
kind: CustomResourceDefinition

manifests/0000_30_06-rh-operators.configmap.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_06-rh-operators.configmap.yaml
33

44
kind: ConfigMap
@@ -10057,6 +10057,13 @@ data:
1005710057
- cronjobs
1005810058
verbs:
1005910059
- "*"
10060+
- apiGroups:
10061+
- rbac.authorization.k8s.io
10062+
resources:
10063+
- roles
10064+
- rolebindings
10065+
verbs:
10066+
- "*"
1006010067
- serviceAccountName: elasticsearch-operator
1006110068
rules:
1006210069
- apiGroups:
@@ -10136,6 +10143,18 @@ data:
1013610143
fieldPath: metadata.namespace
1013710144
- name: OPERATOR_NAME
1013810145
value: "cluster-logging-operator"
10146+
- name: ELASTICSEARCH_IMAGE
10147+
value: "docker.io/openshift/origin-logging-elasticsearch5:latest"
10148+
- name: FLUENTD_IMAGE
10149+
value: "docker.io/openshift/origin-logging-fluentd:latest"
10150+
- name: KIBANA_IMAGE
10151+
value: "docker.io/openshift/origin-logging-kibana5:latest"
10152+
- name: CURATOR_IMAGE
10153+
value: "docker.io/openshift/origin-logging-curator5:latest"
10154+
- name: OAUTH_PROXY_IMAGE
10155+
value: "docker.io/openshift/oauth-proxy:latest"
10156+
- name: RSYSLOG_IMAGE
10157+
value: "docker.io/viaq/rsyslog:latest"
1013910158
- name: elasticsearch-operator
1014010159
spec:
1014110160
replicas: 1

manifests/0000_30_07-certified-operators.configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_07-certified-operators.configmap.yaml
33

44
kind: ConfigMap
@@ -1285,7 +1285,7 @@ data:
12851285
12861286
containers:
12871287
- name: mongodb-enterprise-operator
1288-
image: quay.io/mongodb/mongodb-enterprise-operator:0.3
1288+
image: registry.connect.redhat.com/mongodb/enterprise-operator
12891289
imagePullPolicy: Always
12901290
resources:
12911291
limits:
@@ -1305,7 +1305,7 @@ data:
13051305
- name: OPERATOR_ENV
13061306
value: prod
13071307
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
1308-
value: quay.io/mongodb/mongodb-enterprise-database:0.3
1308+
value: registry.connect.redhat.com/mongodb/enterprise-database
13091309
- name: IMAGE_PULL_POLICY
13101310
value: Always
13111311
- name: IMAGE_PULL_SECRETS

manifests/0000_30_08-certified-operators.catalogsource.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
##---
1+
---
22
# Source: olm/templates/0000_30_08-certified-operators.catalogsource.yaml
33

44
#! validate-crd: ./deploy/chart/templates/05-catalogsource.crd.yaml

0 commit comments

Comments
 (0)