Skip to content
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

docs: update-ips command to use apply #1815

Merged
merged 1 commit into from
Oct 11, 2023
Merged
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
4 changes: 2 additions & 2 deletions bin/apps.bash
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ apps_wc() {
#
if [[ $1 == "wc" ]]; then
if ! "${here}/update-ips.bash" "wc" "dry-run"; then
log_warning "Diff in wc config for network policy IPs, run 'ck8s update-ips wc update' to fix this issue."
log_warning "Diff in wc config for network policy IPs, run 'ck8s update-ips wc apply' to fix this issue."

if ! ${CK8S_AUTO_APPROVE}; then
log_warning_no_newline "Do you want to continue anyway? (y/N): "
Expand All @@ -106,7 +106,7 @@ if [[ $1 == "wc" ]]; then
apps_wc "$2" "$3"
elif [[ $1 == "sc" ]]; then
if ! "${here}/update-ips.bash" "sc" "dry-run"; then
log_warning "Diff in sc config for network policy IPs, run 'ck8s update-ips sc update' to fix this issue."
log_warning "Diff in sc config for network policy IPs, run 'ck8s update-ips sc apply' to fix this issue."

if ! ${CK8S_AUTO_APPROVE}; then
log_warning_no_newline "Do you want to continue anyway? (y/N): "
Expand Down
4 changes: 2 additions & 2 deletions migration/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

1. Apply upgrade - *disruptive*
Expand Down Expand Up @@ -106,7 +106,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

### Apply upgrade - *disruptive*
Expand Down
4 changes: 2 additions & 2 deletions migration/v0.33/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

1. Apply upgrade - *disruptive*
Expand Down Expand Up @@ -166,7 +166,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

### Apply upgrade - *disruptive*
Expand Down
4 changes: 2 additions & 2 deletions migration/v0.34/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

1. Apply upgrade - *disruptive*
Expand Down Expand Up @@ -121,7 +121,7 @@ As with all scripts in this repository `CK8S_CONFIG_PATH` is expected to be set.
# check if the netpol IPs need to be updated
./bin/ck8s update-ips both dry-run
# if you agree with the changes apply
./bin/ck8s update-ips both update
./bin/ck8s update-ips both apply
```

### Apply upgrade - *disruptive*
Expand Down