Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

This way, when cert-manager rotates the trust anchor and updates the
Expand Down Expand Up @@ -928,10 +927,9 @@ you'll need to modify this command to do the right thing for your resource type.
{{< /note >}}

```bash
kubectl get secret -n cert-manager linkerd-trust-anchor -o yaml \
| sed -e s/linkerd-trust-anchor/linkerd-previous-anchor/ \
| egrep -v '^ *(resourceVersion|uid)' \
| kubectl apply -f -
kubectl -n cert-manager get secret linkerd-trust-anchor -o json \
| jq '{apiVersion: .apiVersion, kind: .kind, metadata: {name: "linkerd-previous-anchor", namespace: .metadata.namespace}, type: .type, data: .data}' \
| kubectl apply -f -
```

You can doublecheck this with `kubectl` again:
Expand Down
Loading