|
| 1 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + name: grafanas.integreatly.org |
| 5 | +spec: |
| 6 | + group: integreatly.org |
| 7 | + names: |
| 8 | + kind: Grafana |
| 9 | + listKind: GrafanaList |
| 10 | + plural: grafanas |
| 11 | + singular: grafana |
| 12 | + scope: Namespaced |
| 13 | + subresources: |
| 14 | + status: { } |
| 15 | + version: v1alpha1 |
| 16 | + validation: |
| 17 | + openAPIV3Schema: |
| 18 | + required: [ "spec" ] |
| 19 | + properties: |
| 20 | + spec: |
| 21 | + properties: |
| 22 | + containers: |
| 23 | + type: array |
| 24 | + items: |
| 25 | + type: object |
| 26 | + description: Additional container to add to the grafana pod |
| 27 | + secrets: |
| 28 | + type: array |
| 29 | + items: |
| 30 | + type: string |
| 31 | + description: Secret to be mounted as volume into the grafana deployment |
| 32 | + configMaps: |
| 33 | + type: array |
| 34 | + items: |
| 35 | + type: string |
| 36 | + description: Config map to be mounted as volume into the grafana deployment |
| 37 | + logLevel: |
| 38 | + type: string |
| 39 | + description: Log level of the grafana instance, defaults to info |
| 40 | + adminUser: |
| 41 | + type: string |
| 42 | + description: Default admin user name |
| 43 | + adminPassword: |
| 44 | + type: string |
| 45 | + description: Default admin password |
| 46 | + basicAuth: |
| 47 | + type: boolean |
| 48 | + description: Basic auth enabled |
| 49 | + disableLoginForm: |
| 50 | + type: boolean |
| 51 | + description: Disable login form |
| 52 | + disableSignoutMenu: |
| 53 | + type: boolean |
| 54 | + description: Disable signout menu |
| 55 | + anonymous: |
| 56 | + type: boolean |
| 57 | + description: Anonymous auth enabled |
| 58 | + config: |
| 59 | + type: object |
| 60 | + description: Grafana config |
| 61 | + ingress: |
| 62 | + type: object |
| 63 | + properties: |
| 64 | + enabled: |
| 65 | + type: boolean |
| 66 | + description: Create an ingress / route |
| 67 | + ingressClassName: |
| 68 | + type: string |
| 69 | + description: Ingress class name |
| 70 | + path: |
| 71 | + type: string |
| 72 | + description: Ingress path |
| 73 | + pathType: |
| 74 | + type: string |
| 75 | + description: pathType specifies how ingress paths should be matched |
| 76 | + hostname: |
| 77 | + type: string |
| 78 | + description: The hostname of the ingress / route |
| 79 | + annotations: |
| 80 | + type: object |
| 81 | + description: Additional annotations for the ingress / route |
| 82 | + labels: |
| 83 | + type: object |
| 84 | + description: Additional labels for the ingress / route |
| 85 | + targetPort: |
| 86 | + type: string |
| 87 | + description: Override port to target in the grafana service |
| 88 | + service: |
| 89 | + type: object |
| 90 | + properties: |
| 91 | + name: |
| 92 | + type: string |
| 93 | + description: Override default service name |
| 94 | + ports: |
| 95 | + type: array |
| 96 | + description: Override default ports |
| 97 | + items: |
| 98 | + type: object |
| 99 | + description: A port to add to the grafana service |
| 100 | + annotations: |
| 101 | + type: object |
| 102 | + description: Additional annotations for the service |
| 103 | + labels: |
| 104 | + type: object |
| 105 | + description: Additional labels for the service |
| 106 | + type: |
| 107 | + type: string |
| 108 | + description: Service type (NodePort, ClusterIP or LoadBalancer) |
| 109 | + deployment: |
| 110 | + type: object |
| 111 | + properties: |
| 112 | + annotations: |
| 113 | + type: object |
| 114 | + description: Additional annotations for the service |
| 115 | + labels: |
| 116 | + type: object |
| 117 | + description: Additional labels for the service |
| 118 | + nodeSelector: |
| 119 | + type: object |
| 120 | + description: Additional labels for the running grafana pods in a labeled node. |
| 121 | + tolerations: |
| 122 | + type: array |
| 123 | + description: Additonal labels for running grafana pods in tained nodes. |
| 124 | + affinity: |
| 125 | + type: object |
| 126 | + description: Additonal labels for running grafana pods with affinity properties. |
| 127 | + envFrom: |
| 128 | + type: array |
| 129 | + description: Environment variables from Secret or ConfigMap. |
| 130 | + skipCreateAdminAccount: |
| 131 | + type: boolean |
| 132 | + description: Disable creating a random admin user |
| 133 | + priorityClassName: |
| 134 | + type: string |
| 135 | + description: Pod priority class name |
| 136 | + |
| 137 | + serviceAccount: |
| 138 | + type: object |
| 139 | + properties: |
| 140 | + skip: |
| 141 | + type: boolean |
| 142 | + description: Disable ServiceAccount creation for grafana |
| 143 | + annotations: |
| 144 | + type: object |
| 145 | + description: Additional annotations for the serviceaccount |
| 146 | + labels: |
| 147 | + type: object |
| 148 | + description: Additional labels for the serviceaccount |
| 149 | + client: |
| 150 | + type: object |
| 151 | + description: Grafana client settings |
| 152 | + compat: |
| 153 | + type: object |
| 154 | + description: Backwards compatibility switches |
| 155 | + dashboardLabelSelectors: |
| 156 | + type: array |
| 157 | + items: |
| 158 | + type: object |
| 159 | + description: Label selector or match expressions |
| 160 | + jsonnet: |
| 161 | + type: object |
| 162 | + description: Jsonnet library configuration |
| 163 | + livenessProbeSpec: |
| 164 | + type: object |
| 165 | + properties: |
| 166 | + initialDelaySeconds: |
| 167 | + description: >- |
| 168 | + Number of seconds after the container has |
| 169 | + started before liveness probes are initiated. More info: |
| 170 | + https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes |
| 171 | + format: int32 |
| 172 | + type: integer |
| 173 | + timeoutSeconds: |
| 174 | + description: Number of seconds after which the probe times out. Defaults to 1 second. |
| 175 | + Minimum value is 1. |
| 176 | + format: int32 |
| 177 | + type: integer |
| 178 | + periodSeconds: |
| 179 | + description: >- |
| 180 | + How often (in seconds) to perform the probe. |
| 181 | + Default to 10 seconds. Minimum value is 1. |
| 182 | + format: int32 |
| 183 | + type: integer |
| 184 | + successThreshold: |
| 185 | + description: >- |
| 186 | + Minimum consecutive successes for the probe |
| 187 | + to be considered successful after having failed. Defaults |
| 188 | + to 1. Must be 1 for liveness and startup. Minimum value |
| 189 | + is 1. |
| 190 | + format: int32 |
| 191 | + type: integer |
| 192 | + failureThreshold: |
| 193 | + description: >- |
| 194 | + When a probe fails, Kubernetes will try failureThreshold times before giving up. |
| 195 | + Giving up in case of liveness probe means restarting the container. |
| 196 | + In case of readiness probe the Pod will be marked Unready. |
| 197 | + Defaults to 3. Minimum value is 1. |
| 198 | + format: int32 |
| 199 | + type: integer |
| 200 | + readinessProbeSpec: |
| 201 | + type: object |
| 202 | + properties: |
| 203 | + initialDelaySeconds: |
| 204 | + description: >- |
| 205 | + Number of seconds after the container has |
| 206 | + started before liveness probes are initiated. More info |
| 207 | + https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes |
| 208 | + format: int32 |
| 209 | + type: integer |
| 210 | + timeoutSeconds: |
| 211 | + description: >- |
| 212 | + Number of seconds after which the probe times out. Defaults to 1 second. |
| 213 | + Minimum value is 1. |
| 214 | + format: int32 |
| 215 | + type: integer |
| 216 | + periodSeconds: |
| 217 | + description: >- |
| 218 | + How often (in seconds) to perform the probe. |
| 219 | + Default to 10 seconds. Minimum value is 1. |
| 220 | + format: int32 |
| 221 | + type: integer |
| 222 | + successThreshold: |
| 223 | + description: >- |
| 224 | + Minimum consecutive successes for the probe |
| 225 | + to be considered successful after having failed. Defaults |
| 226 | + to 1. Must be 1 for liveness and startup. Minimum value |
| 227 | + is 1. |
| 228 | + format: int32 |
| 229 | + type: integer |
| 230 | + failureThreshold: |
| 231 | + description: >- |
| 232 | + When a probe fails, Kubernetes will try failureThreshold times before giving up. |
| 233 | + Giving up in case of liveness probe means restarting the container. |
| 234 | + In case of readiness probe the Pod will be marked Unready. |
| 235 | + Defaults to 3. Minimum value is 1. |
| 236 | + format: int32 |
| 237 | + type: integer |
0 commit comments