Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 4ee0e61

Browse files
authored
Merge pull request #109 from matskiv/update-grafana-operator
Update grafana-operator dependency
2 parents b962a9a + 3d68e87 commit 4ee0e61

17 files changed

+1875
-643
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## Unreleased
88

9+
## [0.5.2] - 2021-08-24
10+
### Changed
11+
- Grafana operator dependency has been updated to bring in up to date data structs.
912
## [0.5.1] - 2021-8-9
1013
### Changed
1114
- Alerts updated to support Openshift 4.8.

Gopkg.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/manager/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ func reconcileGrafanaDashboard(grafanaDashboard *integreatlyv1alpha1.GrafanaDash
327327

328328
grafanaDashboard.ObjectMeta.Labels = labels
329329
grafanaDashboard.Spec = integreatlyv1alpha1.GrafanaDashboardSpec{
330-
Name: "unifiedpushoperator.json",
331330
Json: `
332331
{
333332
"__requires": [
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: unifiedpushservers.push.aerogear.org
5+
spec:
6+
group: push.aerogear.org
7+
names:
8+
kind: UnifiedPushServer
9+
listKind: UnifiedPushServerList
10+
plural: unifiedpushservers
11+
shortNames:
12+
- ups
13+
singular: unifiedpushserver
14+
scope: Namespaced
15+
subresources:
16+
status: {}
17+
validation:
18+
openAPIV3Schema:
19+
properties:
20+
apiVersion:
21+
description: 'APIVersion defines the versioned schema of this representation
22+
of an object. Servers should convert recognized schemas to the latest
23+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
24+
type: string
25+
kind:
26+
description: 'Kind is a string value representing the REST resource this
27+
object represents. Servers may infer this from the endpoint the client
28+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
29+
type: string
30+
metadata:
31+
type: object
32+
spec:
33+
properties:
34+
affinity:
35+
type: object
36+
backups:
37+
description: Backups is an array of configs that will be used to create
38+
CronJob resource instances
39+
items:
40+
properties:
41+
backendSecretName:
42+
description: BackendSecretName is the name of a secret containing
43+
storage backend details, such as "AWS_S3_BUCKET_NAME", "AWS_ACCESS_KEY_ID",
44+
and "AWS_SECRET_ACCESS_KEY"
45+
type: string
46+
backendSecretNamespace:
47+
description: BackendSecretNamespace is the name of the namespace
48+
that the secret referenced in BackendSecretName resides in
49+
type: string
50+
encryptionKeySecretName:
51+
description: EncryptionKeySecretName is the name of a secret containing
52+
PGP/GPG details, including "GPG_PUBLIC_KEY", "GPG_TRUST_MODEL",
53+
and "GPG_RECIPIENT"
54+
type: string
55+
encryptionKeySecretNamespace:
56+
description: EncryptionKeySecretNamespace is the name of the namespace
57+
that the secret referenced in EncryptionKeySecretName resides
58+
in
59+
type: string
60+
name:
61+
description: Name is the name that will be given to the resulting
62+
CronJob
63+
type: string
64+
schedule:
65+
description: Schedule is the schedule that the job will be run
66+
at, in cron format
67+
type: string
68+
required:
69+
- name
70+
- schedule
71+
- backendSecretName
72+
type: object
73+
type: array
74+
database:
75+
description: Database allows specifying the external PostgreSQL details
76+
directly in the CR. Only one of Database or DatabaseSecret should
77+
be specified, and ExternalDB must be true, otherwise a new PostgreSQL
78+
instance will be created (and deleted) on the cluster automatically.
79+
properties:
80+
host:
81+
description: Host for external database support
82+
type: string
83+
name:
84+
description: Name for external database support
85+
type: string
86+
password:
87+
description: Password for external database support
88+
type: string
89+
port:
90+
anyOf:
91+
- type: string
92+
- type: integer
93+
description: Port for external database support
94+
user:
95+
description: User for external database support
96+
type: string
97+
type: object
98+
databaseSecret:
99+
description: 'DatabaseSecret allows reading the external PostgreSQL
100+
details from a pre-existing Secret (ExternalDB must be true for it
101+
to be used). Only one of Database or DatabaseSecret should be specified,
102+
and ExternalDB must be true, otherwise a new PostgreSQL instance will
103+
be created (and deleted) on the cluster automatically. Here''s an
104+
example of all of the fields that the secret must contain: POSTGRES_DATABASE:
105+
sampledb POSTGRES_HOST: 172.30.139.148 POSTGRES_PORT: "5432" POSTGRES_USERNAME:
106+
userMSM POSTGRES_PASSWORD: RmwWKKIM7or7oJig POSTGRES_SUPERUSER: "false"
107+
POSTGRES_VERSION: "10"'
108+
type: string
109+
externalDB:
110+
description: ExternalDB can be set to true to use details from Database
111+
and connect to external db
112+
type: boolean
113+
oAuthResourceRequirements:
114+
type: object
115+
postgresPVCSize:
116+
description: PVC size for Postgres service
117+
type: string
118+
postgresResourceRequirements:
119+
type: object
120+
tolerations:
121+
items:
122+
type: object
123+
type: array
124+
unifiedPushResourceRequirements:
125+
type: object
126+
useMessageBroker:
127+
description: UseMessageBroker can be set to true to use managed queues,
128+
if you are using enmasse. Defaults to false.
129+
type: boolean
130+
type: object
131+
status:
132+
properties:
133+
message:
134+
description: Message is a more human-readable message indicating details
135+
about current phase or error.
136+
type: string
137+
phase:
138+
description: Phase indicates whether the CR is reconciling(good), failing(bad),
139+
or initializing.
140+
type: string
141+
ready:
142+
description: Ready is True if all resources are in a ready state and
143+
all work is done (phase should be "reconciling"). The type in the
144+
Go code here is deliberately a pointer so that we can distinguish
145+
between false and "not set", since it's an optional field.
146+
type: boolean
147+
secondaryResources:
148+
additionalProperties:
149+
items:
150+
type: string
151+
type: array
152+
description: 'SecondaryResources is a map of all the secondary resources
153+
types and names created for this CR. e.g "Deployment": [ "DeploymentName1",
154+
"DeploymentName2" ]'
155+
type: object
156+
required:
157+
- phase
158+
type: object
159+
version: v1alpha1
160+
versions:
161+
- name: v1alpha1
162+
served: true
163+
storage: true

0 commit comments

Comments
 (0)