diff --git a/api/v1/const.go b/api/v1/const.go index 12b53694..beff6747 100644 --- a/api/v1/const.go +++ b/api/v1/const.go @@ -10,7 +10,7 @@ const ( // // As we test out the operator with new versions of Porter, keep this value // up-to-date so that the default version is guaranteed to work. - DefaultPorterAgentVersion = "v1.0.0-rc.1" + DefaultPorterAgentVersion = "v1.0.2" // LabelJobType is a label applied to jobs created by the operator. It // indicates the purpose of the job. diff --git a/docs/content/file-formats.md b/docs/content/file-formats.md index 37d17984..cb99a82a 100644 --- a/docs/content/file-formats.md +++ b/docs/content/file-formats.md @@ -148,7 +148,7 @@ metadata: name: customAgent spec: porterRepository: ghcr.io/getporter/porter-agent - porterVersion: v1.0.0-rc.1 + porterVersion: v1.0.0 serviceAccount: porter-agent volumeSize: 64Mi pullPolicy: Always diff --git a/docs/content/install.md b/docs/content/install.md index da29f33d..93e3e8cb 100644 --- a/docs/content/install.md +++ b/docs/content/install.md @@ -3,20 +3,20 @@ title: Install the Porter Operator description: Get up and running with the Porter Operator --- -If you aren't already familiar with Porter, we recommend that you install and use [Porter v1.0.0-rc.1][install-porter] first and then once you are comfortable, learn how to automate Porter with the operator. +If you aren't already familiar with Porter, we recommend that you install and use the most recent version of [Porter v1][install-porter] first and then once you are comfortable, learn how to automate Porter with the operator. -The commands below use the v0.7.1 release, but there may be a more recent release of the Operator. +The commands below use the v0.7.2 release, but there may be a more recent release of the Operator. Check our [releases page](https://github.com/getporter/operator/releases) and use the most recent version number. The Porter Operator is installed with ... Porter! First, use explain to see what credentials and parameters you can use when installing and configuring the operator. ``` -$ porter explain -r ghcr.io/getporter/porter-operator:v0.7.1 +$ porter explain -r ghcr.io/getporter/porter-operator:v0.7.2 Name: porter-operator Description: The Porter Operator for Kubernetes. Execute bundles on a Kubernetes cluster. -Version: v0.7.1 -Porter Version: v1.0.0-rc.1 +Version: v0.7.2 +Porter Version: v1.0.0 Credentials: --------------------------------------------------------------------- @@ -86,17 +86,17 @@ This bundle uses the following tools: exec, helm3, kubernetes. To install this bundle run the following command, passing --param KEY=VALUE for any parameters you want to customize: porter credentials generate mycreds --reference ghcr.io/getporter/porter-operator:v0.5.0 -porter install --reference ghcr.io/getporter/porter-operator:v0.7.1 -c mycreds +porter install --reference ghcr.io/getporter/porter-operator:v0.7.2 -c mycreds ``` Generate a credential set for the bundle, the only required credential for the operator is a kubeconfig for the cluster that the operator is to be installed in. ``` -porter credentials generate porterops -r ghcr.io/getporter/porter-operator:v0.7.1 +porter credentials generate porterops -r ghcr.io/getporter/porter-operator:v0.7.2 ``` Install the operator into the porter-operator-system namespace: ``` -porter install porterops -c porterops -r ghcr.io/getporter/porter-operator:v0.7.1 +porter install porterops -c porterops -r ghcr.io/getporter/porter-operator:v0.7.2 ``` Create a namespace with the appropriate RBAC and configuration. This namespace is where you will create installation CRDs and the operator will create corresponding Jobs to execute the porter CLI. diff --git a/docs/content/quickstart/_index.md b/docs/content/quickstart/_index.md index 7bc11dde..c41a5b6c 100644 --- a/docs/content/quickstart/_index.md +++ b/docs/content/quickstart/_index.md @@ -24,13 +24,13 @@ The commands below use the v0.7.1 release, but there may be a more recent releas Check our [releases page](https://github.com/getporter/operator/releases) and use the most recent version number. ``` -porter credentials generate porterops -r ghcr.io/getporter/porter-operator:v0.7.1 +porter credentials generate porterops -r ghcr.io/getporter/porter-operator:v0.7.2 ``` Now that Porter knows which cluster to target, install the Operator with the following command: ``` -porter install porterops -c porterops -r ghcr.io/getporter/porter-operator:v0.7.1 +porter install porterops -c porterops -r ghcr.io/getporter/porter-operator:v0.7.2 ``` Before you use the operator, you need to configure a Kubernetes namespace with the necessary configuration. diff --git a/magefiles/magefile.go b/magefiles/magefile.go index 6deed4fb..4f5d5989 100644 --- a/magefiles/magefile.go +++ b/magefiles/magefile.go @@ -154,7 +154,7 @@ func getPlugins() error { feed string version string }{ - {name: "kubernetes", feed: "https://cdn.porter.sh/plugins/atom.xml", version: "v1.0.0-rc.1"}, + {name: "kubernetes", feed: "https://cdn.porter.sh/plugins/atom.xml", version: "v1.0.1"}, } var errG errgroup.Group for _, plugin := range plugins { @@ -192,9 +192,9 @@ func getMixins() error { feed string version string }{ - {name: "helm3", feed: "https://mchorfa.github.io/porter-helm3/atom.xml", version: "v1.0.0-rc.1"}, - {name: "kubernetes", feed: "https://cdn.porter.sh/mixins/atom.xml", version: "v1.0.0-rc.1"}, - {name: "exec", feed: "https://cdn.porter.sh/mixins/atom.xml", version: "v1.0.0-rc.1"}, + {name: "helm3", feed: "https://mchorfa.github.io/porter-helm3/atom.xml", version: "v1.0.0"}, + {name: "kubernetes", feed: "https://cdn.porter.sh/mixins/atom.xml", version: "v1.0.0"}, + {name: "exec", feed: "https://cdn.porter.sh/mixins/atom.xml", version: "v1.0.2"}, } var errG errgroup.Group for _, mixin := range mixins {