Skip to content

Commit

Permalink
Update image references to v1.10.0 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone authored Oct 21, 2022
1 parent 28329e0 commit 8590ef9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ CHANGELOG

## HEAD (Unreleased)

## 1.10.0 (2022-10-21)

- Make .ContinueResyncOnCommitMatch apply to all sources (git, Flux sources, or Program objects)
[#346](https://github.com/pulumi/pulumi-kubernetes-operator/pull/346)

## 1.10.0-rc.1 (release candidate)
## 1.10.0-rc.1 (2022-10-18) (release candidate)

- Make `.spec.projectRepo` optional in the Stack CRD. This is technically a breaking change
according to the advice in [Kubernetes API
Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy-operator-cs/MyStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MyStack : Stack
public MyStack()
{
var crds = new Kubernetes.Yaml.ConfigFile("crds", new Kubernetes.Yaml.ConfigFileArgs{
File = "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0-rc.1/deploy/crds/pulumi.com_stacks.yaml"
File = "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0/deploy/crds/pulumi.com_stacks.yaml"
});

var operatorServiceAccount = new Kubernetes.Core.V1.ServiceAccount("operator-service-account", new ServiceAccountArgs{});
Expand Down Expand Up @@ -223,7 +223,7 @@ public MyStack()
new ContainerArgs
{
Name = "pulumi-kubernetes-operator",
Image = "pulumi/pulumi-kubernetes-operator:v1.10.0-rc.1",
Image = "pulumi/pulumi-kubernetes-operator:v1.10.0",
Command =
{
"pulumi-kubernetes-operator",
Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy-operator-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Download file
filePath, cleanup, err := downloadFile("https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0-rc.1/deploy/crds/pulumi.com_stacks.yaml")
filePath, cleanup, err := downloadFile("https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0/deploy/crds/pulumi.com_stacks.yaml")
if err != nil {
return err
}
Expand Down Expand Up @@ -203,7 +203,7 @@ func main() {
Containers: corev1.ContainerArray{
&corev1.ContainerArgs{
Name: pulumi.String("pulumi-kubernetes-operator"),
Image: pulumi.String("pulumi/pulumi-kubernetes-operator:v1.10.0-rc.1"),
Image: pulumi.String("pulumi/pulumi-kubernetes-operator:v1.10.0"),
Command: pulumi.StringArray{
pulumi.String("pulumi-kubernetes-operator"),
},
Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy-operator-py/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def f(o):
return f

crds = kubernetes.yaml.ConfigFile("crds",
file="https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0-rc.1/deploy/crds/pulumi.com_stacks.yaml",
file="https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0/deploy/crds/pulumi.com_stacks.yaml",
transformations=[delete_status()])

operator_service_account = kubernetes.core.v1.ServiceAccount("operator-service-account")
Expand Down Expand Up @@ -135,7 +135,7 @@ def f(o):
"service_account_name": operator_service_account.metadata.name,
"containers": [{
"name": "pulumi-kubernetes-operator",
"image": "pulumi/pulumi-kubernetes-operator:v1.10.0-rc.1",
"image": "pulumi/pulumi-kubernetes-operator:v1.10.0",
"command": ["pulumi-kubernetes-operator"],
"args": ["--zap-level=error", "--zap-time-encoding=iso8601"],
"image_pull_policy": "Always",
Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy-operator-ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as pulumi from "@pulumi/pulumi";
import * as kubernetes from "@pulumi/kubernetes";

const crds = new kubernetes.yaml.ConfigFile("crds", {file: "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0-rc.1/deploy/crds/pulumi.com_stacks.yaml"});
const crds = new kubernetes.yaml.ConfigFile("crds", {file: "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.10.0/deploy/crds/pulumi.com_stacks.yaml"});

const operatorServiceAccount = new kubernetes.core.v1.ServiceAccount("operator-service-account");
const operatorRole = new kubernetes.rbac.v1.Role("operator-role", {
Expand Down Expand Up @@ -127,7 +127,7 @@ const operatorDeployment = new kubernetes.apps.v1.Deployment("pulumi-kubernetes-
serviceAccountName: operatorServiceAccount.metadata.name,
containers: [{
name: "pulumi-kubernetes-operator",
image: "pulumi/pulumi-kubernetes-operator:v1.10.0-rc.1",
image: "pulumi/pulumi-kubernetes-operator:v1.10.0",
args: ["--zap-level=error", "--zap-time-encoding=iso8601"],
imagePullPolicy: "Always",
env: [
Expand Down
2 changes: 1 addition & 1 deletion deploy/yaml/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
emptyDir: {}
containers:
- name: pulumi-kubernetes-operator
image: pulumi/pulumi-kubernetes-operator:v1.10.0-rc.1
image: pulumi/pulumi-kubernetes-operator:v1.10.0
args:
- "--zap-level=error"
- "--zap-time-encoding=iso8601"
Expand Down

0 comments on commit 8590ef9

Please sign in to comment.