Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove --disable-sample and --disable-metric flags (#17145)

Danny Xu48fb9e1fa322
diff --git a/README.md b/README.md
index 98d4b95af0..1a6f06df36 100644
--- a/README.md
+++ b/README.md
@@ -136,7 +136,7 @@ We welcome contributions!
export PG_URL=postgresql://bbdev@localhost/bbdev
# Start backend
-alias r='go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug --disable-sample'
+alias r='go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug'
# Start frontend
alias y="pnpm --dir frontend i && pnpm --dir frontend dev"
diff --git a/docs/bytebase-1.1.1.tgz b/docs/bytebase-1.1.1.tgz
index 8d89ae98c7..4004be1f38 100644
Binary files a/docs/bytebase-1.1.1.tgz and b/docs/bytebase-1.1.1.tgz differ
diff --git a/docs/dev-guide.md b/docs/dev-guide.md
index 328a1e6fc9..a4fd073581 100644
--- a/docs/dev-guide.md
+++ b/docs/dev-guide.md
@@ -50,7 +50,7 @@
```bash
PG_URL=postgresql://bbdev@localhost/bbdev
- go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug --disable-sample
+ go build -ldflags "-w -s" -p=16 -o ./bytebase-build/bytebase ./backend/bin/server/main.go && ./bytebase-build/bytebase --port 8080 --data . --debug
```
1. Start frontend (with live reload).
diff --git a/docs/index.yaml b/docs/index.yaml
index 34081f1df2..d0030775cf 100644
--- a/docs/index.yaml
+++ b/docs/index.yaml
@@ -1,20 +1,20 @@
apiVersion: v1
entries:
bytebase:
- - apiVersion: v2
- created: "2025-02-12T23:13:26.004054-08:00"
- description: Safe database schema change and version control for DevOps teams.
- digest: d8eb0bec5131bf3595a907137dd8a0b63df1d0a0f8c16d039487e5092a6e1d16
- home: https://www.bytebase.com/
- icon: https://raw.githubusercontent.com/bytebase/bytebase.com/main/public/images/logo.svg
- maintainers:
- name: Bytebase
- name: bytebase
- sources:
- - https://github.com/bytebase/bytebase
- type: application
- urls:
- - bytebase-1.1.1.tgz
- version: 1.1.1
-generated: "2025-02-12T23:13:26.003636-08:00"
+ - apiVersion: v2
+ created: "2025-08-12T02:41:43.012738-07:00"
+ description: Safe database schema change and version control for DevOps teams.
+ digest: a9dfc45100fd000f8f6d3d0b70936a1df8479802de9efe2ccce374def40c992c
+ home: https://www.bytebase.com/
+ icon: https://raw.githubusercontent.com/bytebase/bytebase.com/main/public/images/logo.svg
+ maintainers:
+ name: Bytebase
+ name: bytebase
+ sources:
+ - https://github.com/bytebase/bytebase
+ type: application
+ urls:
+ - bytebase-1.1.1.tgz
+ version: 1.1.1
+generated: "2025-08-12T02:41:43.012458-07:00"
diff --git a/helm-charts/bytebase/README.md b/helm-charts/bytebase/README.md
index e4c9b7460f..ef0b8b7007 100644
--- a/helm-charts/bytebase/README.md
+++ b/helm-charts/bytebase/README.md
@@ -78,7 +78,6 @@ upgrade bytebase-release bytebase-repo/bytebase
| `bytebase.option.port` | Port where Bytebase server runs. | 8080 |
| `bytebase.option.data` | Data directory of Bytebase data stored. | /var/opt/bytebase |
| `bytebase.option.external-url` | The address for users to visit Bytebase, visit [our docs](https://docs.bytebase.com/get-started/install/external-url/) to get more details. | "<https://docs.bytebase.com/get-started/install/external-url>" |
-| `bytebase.option.disable-sample` | Disable the sample instance. | false |
| `bytebase.option.externalPg.url` | The PostgreSQL url(DSN) for Bytebase to store the metadata. | "" |
| `bytebase.option.externalPg.existingPgURLSecret` | The name of Secret stores the PostgreSQL url(DSN) for Bytebase to store the metadata. | "" |
| `bytebase.option.externalPg.existingPgURLSecretKey` | The key of Secret stores the PostgreSQL url(DSN) for Bytebase to store the metadata. Should be used with `bytebase.option.externalPg.existingPgURLSecret` together. | "" |
diff --git a/helm-charts/bytebase/templates/statefulset.yaml b/helm-charts/bytebase/templates/statefulset.yaml
index 640a762b8b..6cec2ecd95 100644
--- a/helm-charts/bytebase/templates/statefulset.yaml
+++ b/helm-charts/bytebase/templates/statefulset.yaml
@@ -7,7 +7,6 @@
{{- $port := .Values.bytebase.option.port -}}
{{- $data := .Values.bytebase.option.data -}}
{{- $external_url := index .Values.bytebase.option "external-url" -}}
-{{- $disable_sample := index .Values.bytebase.option "disable-sample" }}
# bytebase.option.externalPg
{{- $externalPgURL := .Values.bytebase.option.externalPg.url -}}
{{- $externalPgExistingPgURLSecret := .Values.bytebase.option.externalPg.existingPgURLSecret -}}
@@ -163,9 +162,6 @@ spec:
{{ $port | quote }} \
--external-url \
{{ $external_url | quote }} \
- {{- if $disable_sample }}
- --disable-sample
- {{- end }}
ports:
- containerPort: {{ $port }}
name: web
diff --git a/helm-charts/bytebase/values.yaml b/helm-charts/bytebase/values.yaml
index 80bb51e274..4e62cf1cc8 100644
--- a/helm-charts/bytebase/values.yaml
+++ b/helm-charts/bytebase/values.yaml
@@ -9,7 +9,6 @@ bytebase:
port: 8080
data: "/var/opt/bytebase"
external-url: "https://docs.bytebase.com/get-started/install/external-url"
- disable-sample: false
externalPg:
url: ""
# If users need to read the pgURL from a secret, they can specify the secret name and key here.