forked from openshift/compliance-operator
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCPBUGS-39417: Add service account and token for service monitoring
Adding service account and token needed for ServiceMonitoring, this will create a new service account compliance-operator-metrics and use create a metric token, and we will use that token for ServiceMonitoring.
- Loading branch information
1 parent
067ed66
commit 53656f1
Showing
1,637 changed files
with
458,843 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
bundle/manifests/compliance-operator-metrics_v1_serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
creationTimestamp: null | ||
name: compliance-operator-metrics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,50 @@ | ||
resources: | ||
# All RBAC will be applied under this service account in | ||
# the deployment namespace. You may comment out this resource | ||
# if your manager will use a service account that exists at | ||
# runtime. Be sure to update RoleBinding and ClusterRoleBinding | ||
# subjects if changing service account names. | ||
- operator_service_account.yaml | ||
- operator_cluster_role.yaml | ||
- operator_cluster_role_binding.yaml | ||
- operator_role.yaml | ||
- operator_role_binding.yaml | ||
- api_resource_collector_service_account.yaml | ||
- api_resource_collector_role.yaml | ||
- api_resource_collector_role_binding.yaml | ||
- api_resource_collector_cluster_role.yaml | ||
- api_resource_collector_cluster_role_binding.yaml | ||
- profileparser_service_account.yaml | ||
- profileparser_role.yaml | ||
- profileparser_role_binding.yaml | ||
- remediation_aggregator_service_account.yaml | ||
- remediation_aggregator_role.yaml | ||
- remediation_aggregator_role_binding.yaml | ||
- remediation_aggregator_cluster_role.yaml | ||
- remediation_aggregator_cluster_role_binding.yaml | ||
- rerunner_service_account.yaml | ||
- rerunner_role.yaml | ||
- rerunner_role_binding.yaml | ||
- resultscollector_service_account.yaml | ||
- resultscollector_role.yaml | ||
- resultscollector_role_binding.yaml | ||
- resultserver_service_account.yaml | ||
- resultserver_role.yaml | ||
- resultserver_role_binding.yaml | ||
- leader_election_role.yaml | ||
- leader_election_role_binding.yaml | ||
- complianceremediation_editor_role.yaml | ||
- complianceremediation_viewer_role.yaml | ||
- compliancescan_editor_role.yaml | ||
- compliancescan_viewer_role.yaml | ||
- compliancesuite_editor_role.yaml | ||
- compliancesuite_viewer_role.yaml | ||
- profilebundle_editor_role.yaml | ||
- profilebundle_viewer_role.yaml | ||
- scansettingbinding_editor_role.yaml | ||
- scansettingbinding_viewer_role.yaml | ||
- tailoredprofile_editor_role.yaml | ||
- tailoredprofile_viewer_role.yaml | ||
- metrics_cluster_role.yaml | ||
- metrics_role_binding.yaml | ||
# All RBAC will be applied under this service account in | ||
# the deployment namespace. You may comment out this resource | ||
# if your manager will use a service account that exists at | ||
# runtime. Be sure to update RoleBinding and ClusterRoleBinding | ||
# subjects if changing service account names. | ||
- operator_service_account.yaml | ||
- operator_cluster_role.yaml | ||
- operator_cluster_role_binding.yaml | ||
- operator_role.yaml | ||
- operator_role_binding.yaml | ||
- api_resource_collector_service_account.yaml | ||
- api_resource_collector_role.yaml | ||
- api_resource_collector_role_binding.yaml | ||
- api_resource_collector_cluster_role.yaml | ||
- api_resource_collector_cluster_role_binding.yaml | ||
- profileparser_service_account.yaml | ||
- profileparser_role.yaml | ||
- profileparser_role_binding.yaml | ||
- remediation_aggregator_service_account.yaml | ||
- remediation_aggregator_role.yaml | ||
- remediation_aggregator_role_binding.yaml | ||
- remediation_aggregator_cluster_role.yaml | ||
- remediation_aggregator_cluster_role_binding.yaml | ||
- rerunner_service_account.yaml | ||
- rerunner_role.yaml | ||
- rerunner_role_binding.yaml | ||
- resultscollector_service_account.yaml | ||
- resultscollector_role.yaml | ||
- resultscollector_role_binding.yaml | ||
- resultserver_service_account.yaml | ||
- resultserver_role.yaml | ||
- resultserver_role_binding.yaml | ||
- leader_election_role.yaml | ||
- leader_election_role_binding.yaml | ||
- complianceremediation_editor_role.yaml | ||
- complianceremediation_viewer_role.yaml | ||
- compliancescan_editor_role.yaml | ||
- compliancescan_viewer_role.yaml | ||
- compliancesuite_editor_role.yaml | ||
- compliancesuite_viewer_role.yaml | ||
- profilebundle_editor_role.yaml | ||
- profilebundle_viewer_role.yaml | ||
- scansettingbinding_editor_role.yaml | ||
- scansettingbinding_viewer_role.yaml | ||
- tailoredprofile_editor_role.yaml | ||
- tailoredprofile_viewer_role.yaml | ||
- metrics_cluster_role.yaml | ||
- metrics_role_binding.yaml | ||
- metrics_service_account.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: compliance-operator-metrics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.