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

fix: fix bytebase helm chart #7481

Merged
merged 4 commits into from
Aug 11, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added docs/bytebase-1.0.6.tgz
Binary file not shown.
30 changes: 23 additions & 7 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,23 @@ apiVersion: v1
entries:
bytebase:
- apiVersion: v2
created: "2023-07-25T11:23:02.713322+08:00"
created: "2023-08-11T13:37:25.24486+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: 5357bc5883d9ca673cc1c03ec821bb7d26f33dc2e5be2ac502f36c05c1b46e31
home: https://bytebase.com/
icon: https://raw.githubusercontent.com/bytebase/bytebase.com/main/public/images/logo-full.svg
maintainers:
- email: support@bytebase.com
name: Bytebase
name: bytebase
sources:
- https://github.com/bytebase/bytebase
type: application
urls:
- bytebase-1.0.6.tgz
version: 1.0.6
- apiVersion: v2
created: "2023-08-11T13:37:25.24364+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: c5680404fee75dcbb4ee8cfea428caca76143c83236d5e0fff31ac8658e2e747
home: https://bytebase.com/
Expand All @@ -18,7 +34,7 @@ entries:
- bytebase-1.0.5.tgz
version: 1.0.5
- apiVersion: v2
created: "2023-07-25T11:23:02.713137+08:00"
created: "2023-08-11T13:37:25.242442+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: ca7092842f14dff04a7aec43b92c59538a4fff685434d4dbfd0738cda35e8350
home: https://bytebase.com/
Expand All @@ -34,7 +50,7 @@ entries:
- bytebase-1.0.4.tgz
version: 1.0.4
- apiVersion: v2
created: "2023-07-25T11:23:02.712847+08:00"
created: "2023-08-11T13:37:25.241805+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: 55551c2b2a090980b5f06feb67bbe59f2f9546ff0c4811507032b3e94cb36846
home: https://bytebase.com/
Expand All @@ -50,7 +66,7 @@ entries:
- bytebase-1.0.3.tgz
version: 1.0.3
- apiVersion: v2
created: "2023-07-25T11:23:02.712427+08:00"
created: "2023-08-11T13:37:25.240154+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: 0de78149cf15773271210aeb60325f473f7835ef2d004bce5c8ce28454e53ab1
home: https://bytebase.com/
Expand All @@ -66,7 +82,7 @@ entries:
- bytebase-1.0.2.tgz
version: 1.0.2
- apiVersion: v2
created: "2023-07-25T11:23:02.710773+08:00"
created: "2023-08-11T13:37:25.239843+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: 95711d0adec416207c21bf2bb707c9c3179509ac4acb6151803d8ec10f4bc465
home: https://bytebase.com/
Expand All @@ -82,7 +98,7 @@ entries:
- bytebase-1.0.1.tgz
version: 1.0.1
- apiVersion: v2
created: "2023-07-25T11:23:02.710453+08:00"
created: "2023-08-11T13:37:25.239535+08:00"
description: Safe database schema change and version control for DevOps teams.
digest: c273189105a7b2ef1d7f9833b76c9008341d9689ff22622aba9809c5ac59adc2
home: https://bytebase.com/
Expand All @@ -97,4 +113,4 @@ entries:
urls:
- bytebase-1.0.0.tgz
version: 1.0.0
generated: "2023-07-25T11:23:02.709684+08:00"
generated: "2023-08-11T13:37:25.238619+08:00"
2 changes: 1 addition & 1 deletion helm-charts/bytebase/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: bytebase
version: 1.0.5
version: 1.0.6
description: Safe database schema change and version control for DevOps teams.
type: application
home: https://bytebase.com/
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/bytebase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ helm -n bytebase \
--set "bytebase.option.port"=443 \
--set "bytebase.option.pg"="postgresql://bytebase:bytebase@database.bytebase.ap-east-1.rds.amazonaws.com/bytebase" \
--set "bytebase.option.external-url"="https://bytebase.ngrok-free.app" \
--set "bytebase.version"=2.4.1 \
--set "bytebase.version"=2.5.0 \
--set "bytebase.persistence.enabled"="true" \
--set "bytebase.persistence.storage"="10Gi" \
--set "bytebase.persistence.storageClass"="csi-disk" \
Expand Down Expand Up @@ -78,7 +78,7 @@ upgrade bytebase-release bytebase-repo/bytebase
| bytebase.option.external-url | The address for users to visit Bytebase, visit [our docs](https://www.bytebase.com/docs/get-started/install/external-url/) to get more details | "<https://www.bytebase.com/docs/get-started/install/external-url>" |
| bytebase.option.existingPgURLSecret | Existing secret with external PostgreSQL connection string. | "" |
| bytebase.option.existingPgURLSecretKey | Existing secret key with external PostgreSQL connection(must specfied if you specify `bytebase.option.existingPgURLSecret`) string. | "" |
| bytebase.version | The Bytebase version. | "2.4.1" |
| bytebase.version | The Bytebase version. | "2.5.0" |
| bytebase.persistence.enabled | Persist bytebase data switch. | false |
| bytebase.persistence.storageClass | The storage class used by Bytebase PVC. | "" |
| bytebase.persistence.storage | The storage size of Bytebase PVC used. | "2Gi" |
Expand Down
18 changes: 17 additions & 1 deletion helm-charts/bytebase/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,20 @@ Allow the release namespace to be overridden for multi-namespace deployments in
{{- else -}}
{{- .Release.Namespace -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Common labels
*/}}
{{- define "bytebase.labels" -}}
{{ include "bytebase.selectorLabels" . }}
app.kubernetes.io/version: {{ .Values.bytebase.version}}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "bytebase.selectorLabels" -}}
app: bytebase
{{- end }}
2 changes: 1 addition & 1 deletion helm-charts/bytebase/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: bytebase-entrypoint
namespace: {{ template "bytebase.namespace" . }}
labels:
app.kubernetes.io/managed-by: helm
{{- include "bytebase.labels" . | nindent 4}}
spec:
type: LoadBalancer
selector:
Expand Down
6 changes: 2 additions & 4 deletions helm-charts/bytebase/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ metadata:
name: bytebase
namespace: {{ template "bytebase.namespace" . }}
labels:
app.kubernetes.io/managed-by: helm
app: bytebase
{{- include "bytebase.labels" . | nindent 4}}
spec:
selector:
matchLabels:
Expand Down Expand Up @@ -107,8 +106,7 @@ metadata:
name: bytebase-volume
namespace: {{ template "bytebase.namespace" . }}
labels:
app.kubernetes.io/managed-by: helm
app: bytebase
{{- include "bytebase.labels" . | nindent 4}}
spec:
storageClassName: {{ .Values.bytebase.persistence.storageClass | quote }}
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/bytebase/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bytebase:
data: /var/opt/bytebase
external-url: "https://www.bytebase.com/docs/get-started/install/external-url"
disable-sample: false
version: 2.4.1
version: 2.5.0
registryMirrorHost: ""
persistence:
storage: 2Gi
Expand Down