-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from pb82/olm-files
add operatorhub bundle files
- Loading branch information
Showing
17 changed files
with
513 additions
and
26 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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: integreatly.org/v1alpha1 | ||
kind: Grafana | ||
metadata: | ||
name: example-grafana | ||
spec: | ||
hostname: "grafana.apps.127.0.0.1.nip.io" | ||
config: | ||
log: | ||
mode: "console" | ||
level: "warn" | ||
security: | ||
admin_user: "root" | ||
admin_password: "secret" | ||
auth: | ||
disable_login_form: False | ||
disable_signout_menu: True | ||
auth.basic: | ||
enabled: False | ||
auth.anonymous: | ||
enabled: True | ||
dashboardLabelSelector: | ||
- matchExpressions: | ||
- {key: app, operator: In, values: [grafana]} |
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,23 @@ | ||
apiVersion: integreatly.org/v1alpha1 | ||
kind: Grafana | ||
metadata: | ||
name: example-grafana | ||
spec: | ||
createRoute: True | ||
config: | ||
log: | ||
mode: "console" | ||
level: "warn" | ||
security: | ||
admin_user: "root" | ||
admin_password: "secret" | ||
auth: | ||
disable_login_form: False | ||
disable_signout_menu: True | ||
auth.basic: | ||
enabled: False | ||
auth.anonymous: | ||
enabled: True | ||
dashboardLabelSelector: | ||
- matchExpressions: | ||
- {key: app, operator: In, values: [grafana]} |
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,64 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: grafanas.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: Grafana | ||
listKind: GrafanaList | ||
plural: grafanas | ||
singular: grafana | ||
scope: Namespaced | ||
version: v1alpha1 | ||
validation: | ||
openAPIV3Schema: | ||
required: ["spec"] | ||
properties: | ||
spec: | ||
properties: | ||
hostname: | ||
type: string | ||
description: Hostname for the ingress. Optional when --openshift is set | ||
containers: | ||
type: array | ||
items: | ||
type: object | ||
description: Additional container to add to the grafana pod | ||
secrets: | ||
type: array | ||
items: | ||
type: string | ||
description: Secret to be mounted as volume into the grafana deployment | ||
logLevel: | ||
type: string | ||
description: Log level of the grafana instance, defaults to info | ||
adminUser: | ||
type: string | ||
description: Default admin user name | ||
adminPassword: | ||
type: string | ||
description: Default admin password | ||
basicAuth: | ||
type: boolean | ||
description: Basic auth enabled | ||
disableLoginForm: | ||
type: boolean | ||
description: Disable login form | ||
disableSignoutMenu: | ||
type: boolean | ||
description: Disable signout menu | ||
anonymous: | ||
type: boolean | ||
description: Anonymous auth enabled | ||
config: | ||
type: object | ||
description: Grafana config | ||
createRoute: | ||
type: boolean | ||
description: Create an OpenShift Route instead of Ingress | ||
dashboardLabelSelectors: | ||
type: array | ||
items: | ||
type: object | ||
description: Label selector or match expressions |
34 changes: 34 additions & 0 deletions
34
deploy/olm-catalog/grafana-operator/1.3.0/GrafanaDashboard.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,34 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: grafanadashboards.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: GrafanaDashboard | ||
listKind: GrafanaDashboardList | ||
plural: grafanadashboards | ||
singular: grafanadashboard | ||
scope: Namespaced | ||
version: v1alpha1 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
status: | ||
properties: | ||
messages: | ||
type: array | ||
items: | ||
description: Dashboard Status Message | ||
type: object | ||
spec: | ||
properties: | ||
name: | ||
type: string | ||
json: | ||
type: string | ||
plugins: | ||
type: array | ||
items: | ||
description: Grafana Plugin Object | ||
type: object |
35 changes: 35 additions & 0 deletions
35
deploy/olm-catalog/grafana-operator/1.3.0/GrafanaDataSource.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,35 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: grafanadatasources.integreatly.org | ||
spec: | ||
group: integreatly.org | ||
names: | ||
kind: GrafanaDataSource | ||
listKind: GrafanaDataSourceList | ||
plural: grafanadatasources | ||
singular: grafanadatasource | ||
scope: Namespaced | ||
version: v1alpha1 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
type: string | ||
kind: | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
required: ["datasources", "name"] | ||
properties: | ||
name: | ||
type: string | ||
minimum: 1 | ||
datasources: | ||
type: array | ||
items: | ||
description: Grafana Datasource Object | ||
type: object | ||
status: | ||
type: object |
4 changes: 4 additions & 0 deletions
4
deploy/olm-catalog/grafana-operator/1.3.0/grafana-operator.package.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,4 @@ | ||
packageName: grafana-operator | ||
channels: | ||
- name: alpha | ||
currentCSV: grafana-operator.v1.3.0 |
Oops, something went wrong.