Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
Signed-off-by: liubo02 <[email protected]>
  • Loading branch information
liubog2008 committed Jan 14, 2025
1 parent 637c543 commit ccb2446
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 28 deletions.
3 changes: 1 addition & 2 deletions examples/basic/01-pd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
level = "debug"
volumes:
- name: data
path: /var/lib/pd
for:
mounts:
- type: data
storage: 20Gi
3 changes: 1 addition & 2 deletions examples/basic/02-tikv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
level = "info"
volumes:
- name: data
path: /var/lib/tikv
for:
mounts:
- type: data
storage: 100Gi
5 changes: 1 addition & 4 deletions examples/basic/04-tiflash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ spec:
proxyConfig: ""
volumes:
- name: data
# to compatible with the cluster managed by TiDB Operator v1
# this path should often be /data0
path: /data0
for:
mounts:
- type: data
storage: 100Gi
3 changes: 1 addition & 2 deletions examples/bootstrap-sql/01-pd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
config: ""
volumes:
- name: data
path: /var/lib/pd
for:
mounts:
- type: data
storage: 20Gi
3 changes: 1 addition & 2 deletions examples/bootstrap-sql/02-tikv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
config: ""
volumes:
- name: data
path: /var/lib/tikv
for:
mounts:
- type: data
storage: 100Gi
2 changes: 1 addition & 1 deletion examples/overlay/01-pd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
volumes:
- name: data
path: /var/lib/pd
for:
mounts:
- type: data
storage: 20Gi
overlay:
Expand Down
5 changes: 2 additions & 3 deletions examples/overlay/02-tikv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
config: ""
volumes:
- name: data
path: /var/lib/tikv
for:
mounts:
- type: data
storage: 100Gi
storage: 100Gi
5 changes: 2 additions & 3 deletions examples/schedule-policy/01-pd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ spec:
config: ""
volumes:
- name: data
path: /var/lib/pd
for:
mounts:
- type: data
storage: 20Gi
storage: 20Gi
5 changes: 2 additions & 3 deletions examples/schedule-policy/02-tikv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ spec:
config: ""
volumes:
- name: data
path: /var/lib/tikv
for:
mounts:
- type: data
storage: 100Gi
storage: 100Gi
3 changes: 1 addition & 2 deletions examples/tls/01-pd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
cert-allowed-cn = ["TiDB"]
volumes:
- name: data
path: /var/lib/pd
for:
mounts:
- type: data
storage: 20Gi
3 changes: 1 addition & 2 deletions examples/tls/02-tikv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
cert-allowed-cn = ["TiDB"]
volumes:
- name: data
path: /var/lib/tikv
for:
mounts:
- type: data
storage: 100Gi
3 changes: 1 addition & 2 deletions examples/tls/04-tiflash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ spec:
cert-allowed-cn = ["TiDB"]
volumes:
- name: data
path: /data0
for:
mounts:
- type: data
storage: 100Gi

0 comments on commit ccb2446

Please sign in to comment.