Skip to content

Commit b3e6351

Browse files
committed
chore(addons): fix plan binds
1 parent ab8bb86 commit b3e6351

29 files changed

Lines changed: 353 additions & 205 deletions

File tree

addons/cloudbeaver/23/chart/cloudbeaver/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ persistence:
358358
- ReadWriteOnce
359359
## @param persistence.size PVC Storage Request
360360
##
361-
size: 1Gi
361+
size: 10Gi
362362
## @param persistence.annotations Annotations for the PVC
363363
##
364364
annotations: {}

addons/cloudbeaver/23/meta.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cloudbeaver
2-
version: 7.0
2+
version: 23
33
id: b7cb26a4-b258-445c-860b-a664239a67f8
44
description: "cloudbeaver"
55
displayName: "cloudbeaver"
@@ -8,13 +8,13 @@ metadata:
88
provider:
99
name: drycc
1010
supportURL: http://cloudbeaver.io/
11-
documentationURL: https://github.com/drycc-addons/drycc-docker-redis
11+
documentationURL: https://github.com/drycc-addons/
1212
tags: cloudbeaver
1313
bindable: true
1414
instances_retrievable: true
1515
bindings_retrievable: true
16-
plan_updateable: true
16+
plan_updateable: false
1717
allow_parameters:
18-
- name: "networkPolicy.allowNamespaces"
19-
description: "networkPolicy allowNamespaces config for values.yaml"
18+
- name: "service.type"
19+
description: "service type config for values.yaml"
2020
archive: false

addons/grafana/10/chart/grafana/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ serviceAccount:
575575
service:
576576
## @param service.type Kubernetes Service type
577577
##
578-
type: LoadBalancer
578+
type: ClusterIP
579579
## @param service.clusterIP Grafana service Cluster IP
580580
## e.g.:
581581
## clusterIP: None

addons/grafana/10/meta.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Grafana
2+
version: 7.0
3+
id: fff5b6c7-ed85-429b-8265-493e40cc53c7
4+
description: "grafana"
5+
displayName: "grafana"
6+
metadata:
7+
displayName: "grafana"
8+
provider:
9+
name: drycc
10+
supportURL: http://grafana.io/
11+
documentationURL: https://github.com/drycc-addons/
12+
tags: cloudbeaver
13+
bindable: true
14+
instances_retrievable: true
15+
bindings_retrievable: true
16+
plan_updateable: false
17+
allow_parameters:
18+
- name: "service.type"
19+
description: "service type config for values.yaml"
20+
archive: false

addons/grafana/10/plans/standard-1-2/values.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
credential:
22
{{- if (eq .Values.router.service.type "LoadBalancer") }}
3-
- name: host
3+
- name: HOST
44
valueFrom:
55
serviceRef:
66
name: {{ printf "%s-router" (include "common.names.fullname" .) }}
77
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8-
- name: password
8+
{{- else if (eq .Values.service.type "ClusterIP") }}
9+
- name: HOST
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "common.names.fullname" . }}
13+
jsonpath: '{ .spec.clusterIP }'
14+
{{- end }}
15+
- name: PASSWORD
916
valueFrom:
1017
secretKeyRef:
1118
name: {{ template "common.names.fullname" . }}-admin
1219
jsonpath: '{ .data.GF_SECURITY_ADMIN_PASSWORD }'
13-
- name: username
20+
- name: USERNAME
1421
valueFrom:
1522
secretKeyRef:
1623
name: {{ template "common.names.fullname" . }}-admin
1724
jsonpath: '{ .data.GF_SECURITY_ADMIN_USER }'
18-
- name: portrw
19-
valueFrom:
20-
secretKeyRef:
21-
name: {{ template "common.names.fullname" . }}-svcbind-custom-user
22-
jsonpath: '{ .data.portrw }'
23-
- name: portro
24-
valueFrom:
25-
secretKeyRef:
26-
name: {{ template "common.names.fullname" . }}-svcbind-custom-user
27-
jsonpath: '{ .data.portro }'
28-
{{- end }}
25+
- name: PORT
26+
valueFrom:
27+
serviceRef:
28+
name: {{ template "common.names.fullname" . }}
29+
jsonpath: '{ .spec.ports[?(@.name=="http")].port }'
2930

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "standard-10"
1+
name: "standard-5"
22
id: 2b455154-8725-482a-95b2-a193c180d9b5
3-
description: "grafana plan which limit 1c1g ,default persistence size 10Gi."
3+
description: "grafana plan which limit 1c1g ,default persistence size 5Gi."
44
displayName: "1C2G"
55
bindable: true
66
maximum_polling_duration: 1800
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## @param fullnameOverride String to fully override common.names.fullname template
2+
##
3+
fullnameOverride: hb-grafana-standard-5
4+
5+
resources:
6+
limits:
7+
cpu: 1000m
8+
memory: 1024Mi
9+
requests:
10+
cpu: 1000m
11+
memory: 1024Mi
12+
13+
persistence:
14+
size: 5Gi

addons/mysql-cluster/8.0/chart/mysql-cluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ router:
858858
service:
859859
## @param secondary.service.type MySQL secondary Kubernetes service type
860860
##
861-
type: LoadBalancer
861+
type: ClusterIP
862862
## @param secondary.service.ports.mysql MySQL secondary Kubernetes service port
863863
##
864864
portrw: 3306

addons/mysql-cluster/8.0/meta.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ tags: mysql-cluster
1313
bindable: true
1414
instances_retrievable: true
1515
bindings_retrievable: true
16-
plan_updateable: true
16+
plan_updateable: false
1717
allow_parameters:
1818
- name: "networkPolicy.allowNamespaces"
1919
description: "networkPolicy allowNamespaces config for values.yaml"
20+
- name: "router.service.type"
21+
description: "service type config for values.yaml"
2022
archive: false

0 commit comments

Comments
 (0)