Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dockerfile base image and prepare the v3.10.2 release #439

Merged
merged 2 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.4

RUN mkdir -p /opt/jsonnet && chown nobody /opt/jsonnet

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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
subresources:
status: {}
version: v1alpha1
validation:
openAPIV3Schema:
properties:
spec:
properties:
name:
type: string
json:
type: string
jsonnet:
description: Jsonnet source. Has access to grafonnet.
type: string
url:
type: string
description: URL to dashboard json
datasources:
type: array
items:
description: Input datasources to resolve before importing
type: object
plugins:
type: array
items:
description: Grafana Plugin Object
type: object
customFolderName:
description: Folder name that this dashboard will be assigned to.
type: string
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
subresources:
status: {}
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
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
subresources:
status: { }
version: v1alpha1
validation:
openAPIV3Schema:
required: [ "spec" ]
properties:
spec:
properties:
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
configMaps:
type: array
items:
type: string
description: Config map 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
ingress:
type: object
properties:
enabled:
type: boolean
description: Create an ingress / route
ingressClassName:
type: string
description: Ingress class name
path:
type: string
description: Ingress path
pathType:
type: string
description: pathType specifies how ingress paths should be matched
hostname:
type: string
description: The hostname of the ingress / route
annotations:
type: object
description: Additional annotations for the ingress / route
labels:
type: object
description: Additional labels for the ingress / route
targetPort:
type: string
description: Override port to target in the grafana service
service:
type: object
properties:
name:
type: string
description: Override default service name
ports:
type: array
description: Override default ports
items:
type: object
description: A port to add to the grafana service
annotations:
type: object
description: Additional annotations for the service
labels:
type: object
description: Additional labels for the service
type:
type: string
description: Service type (NodePort, ClusterIP or LoadBalancer)
deployment:
type: object
properties:
annotations:
type: object
description: Additional annotations for the service
labels:
type: object
description: Additional labels for the service
nodeSelector:
type: object
description: Additional labels for the running grafana pods in a labeled node.
tolerations:
type: array
description: Additonal labels for running grafana pods in tained nodes.
affinity:
type: object
description: Additonal labels for running grafana pods with affinity properties.
envFrom:
type: array
description: Environment variables from Secret or ConfigMap.
skipCreateAdminAccount:
type: boolean
description: Disable creating a random admin user
priorityClassName:
type: string
description: Pod priority class name

serviceAccount:
type: object
properties:
skip:
type: boolean
description: Disable ServiceAccount creation for grafana
annotations:
type: object
description: Additional annotations for the serviceaccount
labels:
type: object
description: Additional labels for the serviceaccount
client:
type: object
description: Grafana client settings
compat:
type: object
description: Backwards compatibility switches
dashboardLabelSelectors:
type: array
items:
type: object
description: Label selector or match expressions
jsonnet:
type: object
description: Jsonnet library configuration
livenessProbeSpec:
type: object
properties:
initialDelaySeconds:
description: >-
Number of seconds after the container has
started before liveness probes are initiated. More info:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
type: integer
timeoutSeconds:
description: Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1.
format: int32
type: integer
periodSeconds:
description: >-
How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
format: int32
type: integer
successThreshold:
description: >-
Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness and startup. Minimum value
is 1.
format: int32
type: integer
failureThreshold:
description: >-
When a probe fails, Kubernetes will try failureThreshold times before giving up.
Giving up in case of liveness probe means restarting the container.
In case of readiness probe the Pod will be marked Unready.
Defaults to 3. Minimum value is 1.
format: int32
type: integer
readinessProbeSpec:
type: object
properties:
initialDelaySeconds:
description: >-
Number of seconds after the container has
started before liveness probes are initiated. More info
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
type: integer
timeoutSeconds:
description: >-
Number of seconds after which the probe times out. Defaults to 1 second.
Minimum value is 1.
format: int32
type: integer
periodSeconds:
description: >-
How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
format: int32
type: integer
successThreshold:
description: >-
Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness and startup. Minimum value
is 1.
format: int32
type: integer
failureThreshold:
description: >-
When a probe fails, Kubernetes will try failureThreshold times before giving up.
Giving up in case of liveness probe means restarting the container.
In case of readiness probe the Pod will be marked Unready.
Defaults to 3. Minimum value is 1.
format: int32
type: integer
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
serviceAccountName: grafana-operator
containers:
- name: grafana-operator
image: quay.io/integreatly/grafana-operator:v3.10.1
image: quay.io/integreatly/grafana-operator:v3.10.2
ports:
- containerPort: 60000
name: metrics
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

var (
Version = "3.10.1"
Version = "3.10.2"
)