Skip to content

Commit

Permalink
Merge pull request #590 from devleejb/main
Browse files Browse the repository at this point in the history
Update `istio x create-remote-secret` examples to `istio create-remote-secret`
  • Loading branch information
karmada-bot authored Apr 19, 2024
2 parents b64f8c7 + 649f64f commit 920f034
Show file tree
Hide file tree
Showing 32 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions docs/userguide/service/working-with-istio-on-flat-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ kubectl config use-context member2
Prepare member2 cluster secret

```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

Switch to `member1`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ kubectl config use-context member1

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
istioctl create-remote-secret --name=member1 > istio-remote-secret-member1.yaml
```

### Prepare member2 cluster secret
Expand All @@ -212,7 +212,7 @@ kubectl config use-context member2

2. Create istio remote secret for member1:
```bash
istioctl x create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
istioctl create-remote-secret --name=member2 > istio-remote-secret-member2.yaml
```

### Apply istio remote secret
Expand Down
Loading

0 comments on commit 920f034

Please sign in to comment.