Skip to content
Draft
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
2 changes: 1 addition & 1 deletion CN/modules/ROOT/pages/4.6.2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ kubectl -n <cluster-namespace> edit configmap hippo-init-sql
请务必将所有更改传回您的本地文件。另一个选项是在本地文件中进行更改,并使用 `kubectl --dry-run` 创建模板,并将输出通过管道传输到 `kubectl apply`:

----
kubectl create configmap hippo-init-sql --from-file=init.sql=/path/to/init.sql --dry-run=client -o yaml | kubectl apply -f -
kubectl create configmap hippo-init-sql --from-file=init.sql=/path/to/init.sql --dry-run=client -o yaml | kubectl -n ivory-operator apply -f -
----

[TIP]
Expand Down
2 changes: 1 addition & 1 deletion EN/modules/ROOT/pages/4.6.2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ Be sure to transfer any changes back over to your local file. Another option is

[source,shell]
----
kubectl create configmap hippo-init-sql --from-file=init.sql=/path/to/init.sql --dry-run=client -o yaml | kubectl apply -f -
kubectl create configmap hippo-init-sql --from-file=init.sql=/path/to/init.sql --dry-run=client -o yaml | kubectl -n ivory-operator apply -f -
----

TIP: If you edit your ConfigMap and your changes aren't showing up, you may be waiting for IVYO to reconcile your cluster. After some time, IVYO will automatically reconcile the cluster or you can trigger reconciliation by applying any change to your cluster (e.g. with `kubectl apply -k examples/kustomize/ivory`).
Expand Down
Loading