Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: add disable sample option to helm (#7201)
h3n4l44baad4e2ee8
diff --git a/docs/bytebase-1.0.5.tgz b/docs/bytebase-1.0.5.tgznew file mode 100644index 0000000000..418a1bb1e6Binary files /dev/null and b/docs/bytebase-1.0.5.tgz differdiff --git a/docs/index.yaml b/docs/index.yamlindex 07651e550d..f5ba93a7e4 100644--- a/docs/index.yaml+++ b/docs/index.yaml@@ -2,7 +2,23 @@ apiVersion: v1entries:bytebase:- apiVersion: v2- created: "2023-07-04T10:14:12.239456+08:00"+ created: "2023-07-25T11:23:02.713322+08:00"+ description: Safe database schema change and version control for DevOps teams.+ digest: c5680404fee75dcbb4ee8cfea428caca76143c83236d5e0fff31ac8658e2e747+ home: https://bytebase.com/+ icon: https://raw.githubusercontent.com/bytebase/bytebase.com/main/public/images/logo-full.svg+ maintainers:+ - email: [email protected]+ name: Bytebase+ name: bytebase+ sources:+ - https://github.com/bytebase/bytebase+ type: application+ urls:+ - bytebase-1.0.5.tgz+ version: 1.0.5+ - apiVersion: v2+ created: "2023-07-25T11:23:02.713137+08:00"description: Safe database schema change and version control for DevOps teams.digest: ca7092842f14dff04a7aec43b92c59538a4fff685434d4dbfd0738cda35e8350home: https://bytebase.com/@@ -18,7 +34,7 @@ entries:- bytebase-1.0.4.tgzversion: 1.0.4- apiVersion: v2- created: "2023-07-04T10:14:12.239272+08:00"+ created: "2023-07-25T11:23:02.712847+08:00"description: Safe database schema change and version control for DevOps teams.digest: 55551c2b2a090980b5f06feb67bbe59f2f9546ff0c4811507032b3e94cb36846home: https://bytebase.com/@@ -34,7 +50,7 @@ entries:- bytebase-1.0.3.tgzversion: 1.0.3- apiVersion: v2- created: "2023-07-04T10:14:12.238989+08:00"+ created: "2023-07-25T11:23:02.712427+08:00"description: Safe database schema change and version control for DevOps teams.digest: 0de78149cf15773271210aeb60325f473f7835ef2d004bce5c8ce28454e53ab1home: https://bytebase.com/@@ -50,7 +66,7 @@ entries:- bytebase-1.0.2.tgzversion: 1.0.2- apiVersion: v2- created: "2023-07-04T10:14:12.238643+08:00"+ created: "2023-07-25T11:23:02.710773+08:00"description: Safe database schema change and version control for DevOps teams.digest: 95711d0adec416207c21bf2bb707c9c3179509ac4acb6151803d8ec10f4bc465home: https://bytebase.com/@@ -66,7 +82,7 @@ entries:- bytebase-1.0.1.tgzversion: 1.0.1- apiVersion: v2- created: "2023-07-04T10:14:12.238184+08:00"+ created: "2023-07-25T11:23:02.710453+08:00"description: Safe database schema change and version control for DevOps teams.digest: c273189105a7b2ef1d7f9833b76c9008341d9689ff22622aba9809c5ac59adc2home: https://bytebase.com/@@ -81,4 +97,4 @@ entries:urls:- bytebase-1.0.0.tgzversion: 1.0.0-generated: "2023-07-04T10:14:12.237478+08:00"+generated: "2023-07-25T11:23:02.709684+08:00"diff --git a/helm-charts/bytebase/Chart.yaml b/helm-charts/bytebase/Chart.yamlindex 4b2c85ce00..8a411a913a 100644--- a/helm-charts/bytebase/Chart.yaml+++ b/helm-charts/bytebase/Chart.yaml@@ -1,6 +1,6 @@apiVersion: v2name: bytebase-version: 1.0.4+version: 1.0.5description: Safe database schema change and version control for DevOps teams.type: applicationhome: https://bytebase.com/diff --git a/helm-charts/bytebase/README.md b/helm-charts/bytebase/README.mdindex a1f7cd7407..bd6cf31c5a 100644--- a/helm-charts/bytebase/README.md+++ b/helm-charts/bytebase/README.md@@ -40,7 +40,7 @@ $ helm -n bytebase \--set "bytebase.option.port"=443 \--set "bytebase.option.pg"="postgresql://bytebase:[email protected]/bytebase" \--set "bytebase.option.external-url"="https://bytebase.ngrok-free.app" \---set "bytebase.version"=2.3.0 \+--set "bytebase.version"=2.4.1 \--set "bytebase.persistence.enabled"="true" \--set "bytebase.persistence.storage"="10Gi" \--set "bytebase.persistence.storageClass"="csi-disk" \@@ -50,7 +50,7 @@ install bytebase-release bytebase-repo/bytebase## Uninstalling the Chart```bash-$ helm delete --namespace <YOUR_NAMESPACE> <RELEASE_NAME>+helm delete --namespace <YOUR_NAMESPACE> <RELEASE_NAME>```## Upgrade Bytebase Version/Configuration@@ -71,24 +71,25 @@ upgrade bytebase-release bytebase-repo/bytebase## Parameters-| Parameter | Description | Default Value |-| :------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------: |-| bytebase.option.port | Port where Bytebase server runs. | 8080 |-| bytebase.option.pg | External PostgreSQL instance connection url(must provide dbname).It will be ignored if you specify `bytebase.option.existingPgURLSecret`. | "postgresql://bytebase:[email protected]/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.3.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" |-| bytebase.persistence.existingClaim | The existing PVC that bytebase need to use. | "" |-| bytebase.registryMirrorHost | "" | The host of the registry mirror used by downloading bytebase container images. |+| Parameter | Description | Default Value |+| :------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------: |+| bytebase.option.port | Port where Bytebase server runs. | 8080 |+| bytebase.option.pg | External PostgreSQL instance connection url(must provide dbname).It will be ignored if you specify `bytebase.option.existingPgURLSecret`. | "postgresql://bytebase:<[email protected]>/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.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" |+| bytebase.persistence.existingClaim | The existing PVC that bytebase need to use. | "" |+| bytebase.registryMirrorHost | "" | The host of the registry mirror used by downloading bytebase container images. |+| bytebase.option.disable-sample | Disable the sample instance. | false |**If you enable bytebase persistence, you should provide storageClass and storage to bytebase to request a PVC, or provide the already existed PVC by existingClaim.**## Need Help?-- Contact [email protected]+- Contact <[email protected]>- [Bytebase Docs](https://bytebase.com/docs)- [Bytebase GitHub Issue Page](https://github.com/bytebase/bytebase/issues/new/choose)diff --git a/helm-charts/bytebase/templates/statefulset.yaml b/helm-charts/bytebase/templates/statefulset.yamlindex cbcd260ad6..27a5196099 100644--- a/helm-charts/bytebase/templates/statefulset.yaml+++ b/helm-charts/bytebase/templates/statefulset.yaml@@ -6,6 +6,7 @@{{- $data := .Values.bytebase.option.data -}}{{- $version := .Values.bytebase.version -}}{{- $registryMirrorHost := .Values.bytebase.registryMirrorHost -}}+{{- $disable_sample := index .Values.bytebase.option "disable-sample" -}}apiVersion: apps/v1kind: StatefulSetmetadata:@@ -54,6 +55,9 @@ spec:"--external-url",# helm parser cannot handle the dash in the value, so we need to quote it, so we use $external_url instead of $external-url.{{ $external_url | quote }},+ {{ if $disable_sample }}+ "--disable-sample",+ {{ end }}]ports:- containerPort: {{ $port }}diff --git a/helm-charts/bytebase/values.yaml b/helm-charts/bytebase/values.yamlindex 7ecc986428..3469459a48 100644--- a/helm-charts/bytebase/values.yaml+++ b/helm-charts/bytebase/values.yaml@@ -10,7 +10,8 @@ bytebase:pg: postgresql://user:secret@host:port/dbnamedata: /var/opt/bytebaseexternal-url: "https://www.bytebase.com/docs/get-started/install/external-url"- version: 2.3.0+ disable-sample: false+ version: 2.4.1registryMirrorHost: ""persistence:storage: 2Gi