Skip to content

Commit

Permalink
Merge pull request getporter#130 from carolynvs/bump-porter-version
Browse files Browse the repository at this point in the history
Update porter and operator to the most recent releases
  • Loading branch information
carolynvs authored Nov 18, 2022
2 parents 7abd930 + 9a6696b commit 9a4fd7a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion api/v1/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/file-formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions docs/content/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---------------------------------------------------------------------
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/quickstart/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 9a4fd7a

Please sign in to comment.