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

doc: Use a Hugo shortcode for displaying the version from a param #1088

Merged
merged 2 commits into from
Jun 10, 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
2 changes: 1 addition & 1 deletion docs/blog/kustomize-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ If you want to install the grafana-operator without using GitOps, you can also d
For example, you can run the following Flux command to download the artifact and unpack it. Then you can run a normal kubectl apply command.

```shell
flux pull artifact oci://ghcr.io/grafana-operator/kustomize/grafana-operator:v5.0.0-rc3 -output ./grafana-opreator
flux pull artifact oci://ghcr.io/grafana-operator/kustomize/grafana-operator:{{<param version>}} -output ./grafana-opreator
```

But of course we recommend that you manage your grafana-operator installation through your GitOps solution, no matter if it's Flux or some other solution.
Expand Down
4 changes: 1 addition & 3 deletions docs/blog/v5-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ linkTitle: "Version 5 getting started"
description: "How to get started with version 5 of the operator?"
---

This blog is initially written for version 5-rc3, we will try to continuously update it to match any changes that we do before releasing version 5.0.0.

It might be a good idea to read through the [version 5 introduction](v5-intro.md) which goes through a bit more about the new concepts that we have introduced in this version.
In this blog we will focus on how to install version 5 of the grafana-operator.

Expand Down Expand Up @@ -78,7 +76,7 @@ We are hosting our Helm chart in an OCI repo so it's a bit different from what y
notice the `oci://` part of the URL.

```shell
helm upgrade -i grafana-operator oci://ghcr.io/grafana-operator/helm-charts/grafana-operator --version v5.0.0-rc3 -n grafana-operator
helm upgrade -i grafana-operator oci://ghcr.io/grafana-operator/helm-charts/grafana-operator --version {{<param version>}} -n grafana-operator
```

## Use operator
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/installation/kustomize.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ After you have downloaded Flux you can use `flux pull artifact` to download the

```shell
mkdir grafana-operator
flux pull artifact oci://ghcr.io/grafana-operator/kustomize/grafana-operator:{{ .version }} --output ./grafana-operator/
flux pull artifact oci://ghcr.io/grafana-operator/kustomize/grafana-operator:{{<param version>}} --output ./grafana-operator/
```

This will provide you the manifest files unpacked and ready to use.
Expand Down
2 changes: 1 addition & 1 deletion hugo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ archived_version = false
# The version number for the version of the docs represented in this doc set.
# Used in the "version-banner" partial to display a version number for the
# current doc set.
version = "v5.0.0-rc3"
version = "v5.0.0"

# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
Expand Down