Skip to content

Commit

Permalink
disable unused gates
Browse files Browse the repository at this point in the history
  • Loading branch information
unw9527 committed Jul 20, 2022
1 parent 29ccbfe commit 7139a68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 39 deletions.
42 changes: 5 additions & 37 deletions data/tidb-operator/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,8 @@ spec:
helper:
image: busybox:1.34.1
pvReclaimPolicy: Retain
recoverFailover: false
# recoverFailover: false # should be enabled
enableDynamicConfiguration: true
# pump:
# baseImage: pingcap/tidb-binlog
# version: v5.4.1
# requests:
# storage: 1Gi
# replicas: 1
# tiflash:
# baseImage: pingcap/tiflash
# replicas: 2
# storageClaims:
# - resources:
# requests:
# storage: 1Gi
# # storageClaims: []
# configUpdateStrategy: RollingUpdate
# ticdc:
# baseImage: pingcap/ticdc
# version: "v5.4.1"
# # requests:
# # storage: 1Gi
# replicas: 1
pd:
baseImage: pingcap/pd
config: |
Expand All @@ -42,12 +21,6 @@ spec:
requests:
storage: 10Gi
mountClusterClientSecret: true
# dataSubDir: xtpxnorqpf
# service:
# annotations:
# emowrglwba: fohobpdwcl
# services:
# - name: uytjmpivol
tidb:
baseImage: pingcap/tidb
config: |
Expand All @@ -56,26 +29,21 @@ spec:
replicas: 3
maxFailoverCount: 0
service:
# clusterIP: ofswknfqxr
type: NodePort
externalTrafficPolicy: Local
plugins: null
# annotations:
# dbquixhddr: klsdfjkjlf
tikv:
baseImage: pingcap/tikv
config: |
log-level = "info"
replicas: 3
rocksDBLogVolumeName: gdddopafvx
maxFailoverCount: 0
separateRaftLog: true
shouldSeparateRocksDBLog: true
# separateRaftLog: true # should be enabled
# shouldSeparateRocksDBLog: true # should be enabled
requests:
storage: 100Gi
mountClusterClientSecret: true
tlsCluster:
enabled: true
# tlsCluster:
# enabled: true # should be enabled
# cluster:
# clusterDomain: asdasd # this is a bug of tidb
# name: obsakkicls # this is a bug of tidb
Expand Down
4 changes: 2 additions & 2 deletions k8s_util/lib/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "k8sutil.h"

int main(){
char *name = "-92743e6047801799";
char *name = "92743e6047801799";
printf("The string after parsing is: %s\n", parse(name));
return 0;
}
}

0 comments on commit 7139a68

Please sign in to comment.