Skip to content

Commit

Permalink
Merge pull request #1197 from timflannagan1/release-4.4-remove-event-…
Browse files Browse the repository at this point in the history
…functionality

Bug 1829035: Remove all instances of the k8s_event module.
  • Loading branch information
openshift-merge-robot committed Apr 28, 2020
2 parents 97e40b3 + d93b1d5 commit 23c9101
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,3 @@
vars:
kube_minor_version: "{{ (kube_version.stdout | from_json | json_query('serverVersion.minor')).rstrip('+') }}"
kube_version_at_least_1_14: "{{ ((kube_minor_version | int) >= 14) | bool }}"

- name: Log Events for Configuring Reporting
k8s_event:
state: present
name: Configure Reporting resources
namespace: "{{ meta.namespace }}"
message: Configure reporting
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"

Original file line number Diff line number Diff line change
Expand Up @@ -197,21 +197,3 @@
status: "True"
message: "Finished configuring Hive storage"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Configuring Storage
k8s_event:
state: present
name: Configuring Storage Event
namespace: "{{ meta.namespace }}"
message: Configure Storage
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"

Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,3 @@
status: "True"
message: "Finished configuring TLS"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for validating TLS
k8s_event:
state: present
name: Validate TLS
namespace: "{{ meta.namespace }}"
message: Validating TLS
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"

Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,3 @@
status: "True"
message: "Finished reconciling HDFS resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling HDFS
k8s_event:
state: present
name: Reconcile Hdfs Event
namespace: "{{ meta.namespace }}"
message: Reconcile HDFS
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,3 @@
message: "Finished reconciling Hive resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling Hive
k8s_event:
state: present
name: Reconcile Hive Event
namespace: "{{ meta.namespace }}"
message: Reconcile Hive
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,3 @@
status: "True"
message: "Finished reconciling Metering resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling Metering
k8s_event:
state: present
name: Reconcile Metering Event
namespace: "{{ meta.namespace }}"
message: Reconcile Metering
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,3 @@
status: "True"
message: "Finished reconciling monitoring resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling Monitoring
k8s_event:
state: present
name: Reconcile Monitoring Event
namespace: "{{ meta.namespace }}"
message: Reconcile Monitoring
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,3 @@
status: "True"
message: "Finished reconciling Presto resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling Presto
k8s_event:
state: present
name: Reconcile Presto Event
namespace: "{{ meta.namespace }}"
message: Reconcile Presto
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,3 @@
status: "True"
message: "Finished reconciling reporting resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reconciling Reporting
k8s_event:
state: present
name: Reconcile Reporting Event
namespace: "{{ meta.namespace }}"
message: Reconcile Reporting
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,3 @@
status: "True"
message: "Finished reconciling reporting-operator resources"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for Reporting Operator
k8s_event:
state: present
name: Reconcile Reporting Operator Event
namespace: "{{ meta.namespace }}"
message: Reconcile Reporting Operator
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,3 @@
status: "True"
message: "Finished the validation process"
lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- name: Log Events for validating configurations
k8s_event:
state: present
name: Validate Configuration
namespace: "{{ meta.namespace }}"
message: Validate Configurations
reason: Created
reportingComponent: Reporting components
type: Normal
source:
component: Metering components
involvedObject:
apiVersion: metering.openshift.io
kind: MeteringConfig
name: "{{ meta.name }}"
namespace: "{{ meta.namespace }}"

0 comments on commit 23c9101

Please sign in to comment.