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: automate installation docs to point to tag #3178

Merged
merged 4 commits into from
Dec 1, 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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ release-manifest:
@sed -i "s/tag: $(VERSION)/tag: ${NEWVERSION}/" ./cmd/build/helmify/static/values.yaml
@sed -i 's/Current release version: `$(VERSION)`/Current release version: `'"${NEWVERSION}"'`/' ./cmd/build/helmify/static/README.md
@sed -i -e 's/^VERSION := $(VERSION)/VERSION := ${NEWVERSION}/' ./Makefile
@sed -i 's/https:\/\/raw\.githubusercontent\.com\/open-policy-agent\/gatekeeper\/master\/deploy\/gatekeeper\.yaml.*/https:\/\/raw\.githubusercontent\.com\/open-policy-agent\/gatekeeper\/${NEWVERSION}\/deploy\/gatekeeper\.yaml/' ./website/docs/install.md
export
$(MAKE) manifests

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.10.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.10.0/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -91,7 +91,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.10.0/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.11.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.11.1/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -91,7 +91,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.11.1/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.12.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.12.0/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -92,7 +92,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.12.0/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.13.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.13.4/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -92,7 +92,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.13.4/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.14.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.14.0/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -92,7 +92,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.14.0/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.8.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/release-3.8/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.8.1/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -91,7 +91,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.8.1/deploy/gatekeeper.yaml
```

### Using make
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.9.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For either installation method, make sure you have cluster admin permissions:
If you want to deploy a released version of Gatekeeper in your cluster with a prebuilt image, then you can run the following command:

```sh
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.9.2/deploy/gatekeeper.yaml
```

### Deploying a Release using development image
Expand Down Expand Up @@ -91,7 +91,7 @@ You can alter the variables in `charts/gatekeeper/values.yaml` to customize your
If you used a prebuilt image to deploy Gatekeeper, then you can delete all the Gatekeeper components with the following command:

```sh
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.9.2/deploy/gatekeeper.yaml
```

### Using make
Expand Down
Loading