Skip to content

refract: require value explicitly #208

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ data:
# 北极星服务端地址
serverAddress: {{ .Values.polaris.server.address }}
# 北极星服务端token(北极星开启鉴权时需要配置)
accessToken: {{ .Values.polaris.server.token }}
accessToken: {{ required "polaris token is required" .Values.polaris.server.token }}
# 北极星主账户ID
operator: {{ .Values.polaris.server.operator }}
operator: {{ required "polaris operator ID is required" .Values.polaris.server.operator }}
# k8s cluster name
clusterName: "{{ .Values.cluster.name }}"
# polaris-sidecar 注入的默认启动模式, 可以配置 java-agent, mesh 或者 dns
Expand Down
6 changes: 3 additions & 3 deletions deploy/kubernetes_v1.22/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ sidecar:
## polaris server config
polaris:
server:
address: #POLARIS_HOST#
token: #POLARIS_TOKEN#
operator: #POLARIS_OPERATOR#
address: polaris.polaris-system
token: '' #POLARIS_TOKEN#
operator: '' #POLARIS_OPERATOR#
sync:
service:
mode: all
Expand Down