File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ function main() {
211
211
function setup_configmap() {
212
212
kubectl -n=default create configmap ' cluster-config' \
213
213
--from-file=' cluster.yaml' =$CORTEX_CLUSTER_CONFIG_FILE \
214
- -o yaml --dry-run | kubectl apply -f - > /dev/null
214
+ -o yaml --dry-run=client | kubectl apply -f - > /dev/null
215
215
216
216
kubectl -n=default create configmap ' env-vars' \
217
217
--from-literal=' CORTEX_VERSION' =$CORTEX_VERSION \
@@ -221,14 +221,14 @@ function setup_configmap() {
221
221
--from-literal=' CORTEX_TELEMETRY_DISABLE' =$CORTEX_TELEMETRY_DISABLE \
222
222
--from-literal=' CORTEX_TELEMETRY_SENTRY_DSN' =$CORTEX_TELEMETRY_SENTRY_DSN \
223
223
--from-literal=' CORTEX_TELEMETRY_SEGMENT_WRITE_KEY' =$CORTEX_TELEMETRY_SEGMENT_WRITE_KEY \
224
- -o yaml --dry-run | kubectl apply -f - > /dev/null
224
+ -o yaml --dry-run=client | kubectl apply -f - > /dev/null
225
225
}
226
226
227
227
function setup_secrets() {
228
228
kubectl -n=default create secret generic ' aws-credentials' \
229
229
--from-literal=' AWS_ACCESS_KEY_ID' =$CORTEX_AWS_ACCESS_KEY_ID \
230
230
--from-literal=' AWS_SECRET_ACCESS_KEY' =$CORTEX_AWS_SECRET_ACCESS_KEY \
231
- -o yaml --dry-run | kubectl apply -f - > /dev/null
231
+ -o yaml --dry-run=client | kubectl apply -f - > /dev/null
232
232
}
233
233
234
234
function setup_istio() {
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ python refresh_cluster_config.py cluster_configmap.yaml tmp_cluster_config.yaml
31
31
32
32
kubectl -n=default create configmap ' cluster-config' \
33
33
--from-file=' cluster.yaml' =tmp_cluster_config.yaml \
34
- -o yaml --dry-run | kubectl apply -f - > /dev/null
34
+ -o yaml --dry-run=client | kubectl apply -f - > /dev/null
35
35
36
36
cat tmp_cluster_config.yaml > $cached_cluster_config_file
You can’t perform that action at this time.
0 commit comments