From 5f367ff48bc7eda00368c73a2b686b7bf2bbde4c Mon Sep 17 00:00:00 2001 From: Vivek Lakshmanan Date: Wed, 15 Dec 2021 15:42:52 -0800 Subject: [PATCH] Bump to pulumi v3.19.0 and prep release v1.3.0 (#246) * Prep v1.3.0 release * Changelog * Fix changelog --- CHANGELOG.md | 3 +++ Dockerfile | 2 +- deploy/deploy-operator-cs/MyStack.cs | 4 ++-- deploy/deploy-operator-go/main.go | 4 ++-- deploy/deploy-operator-py/__main__.py | 4 ++-- deploy/deploy-operator-ts/index.ts | 4 ++-- deploy/yaml/operator.yaml | 2 +- go.mod | 2 +- go.sum | 8 ++++---- 9 files changed, 18 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dadedd44..0c10f7db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ CHANGELOG ========= ## HEAD (Unreleased) + +## 1.3.0 (2021-12-15) - Add ability to resync stacks periodically [#243](https://github.com/pulumi/pulumi-kubernetes-operator/pull/243) +- Bump to Pulumi v3.19.0 [#246](https://github.com/pulumi/pulumi-kubernetes-operator/pull/246) ## 1.2.1 (2021-11-05) - Simplified pulumi program installation instructions [#238](https://github.com/pulumi/pulumi-kubernetes-operator/pull/238) diff --git a/Dockerfile b/Dockerfile index a03b5092..e9dd075a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM pulumi/pulumi:3.17.0 +FROM pulumi/pulumi:3.19.0 ENV OPERATOR=/usr/local/bin/pulumi-kubernetes-operator diff --git a/deploy/deploy-operator-cs/MyStack.cs b/deploy/deploy-operator-cs/MyStack.cs index ca720114..c3a73c95 100644 --- a/deploy/deploy-operator-cs/MyStack.cs +++ b/deploy/deploy-operator-cs/MyStack.cs @@ -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.2.1/deploy/crds/pulumi.com_stacks.yaml" + File = "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.3.0/deploy/crds/pulumi.com_stacks.yaml" }); var operatorServiceAccount = new Kubernetes.Core.V1.ServiceAccount("operator-service-account", new ServiceAccountArgs{}); @@ -223,7 +223,7 @@ public MyStack() new ContainerArgs { Name = "pulumi-kubernetes-operator", - Image = "pulumi/pulumi-kubernetes-operator:v1.2.1", + Image = "pulumi/pulumi-kubernetes-operator:v1.3.0", Command = { "pulumi-kubernetes-operator", diff --git a/deploy/deploy-operator-go/main.go b/deploy/deploy-operator-go/main.go index a9057bc5..59034d69 100644 --- a/deploy/deploy-operator-go/main.go +++ b/deploy/deploy-operator-go/main.go @@ -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.2.1/deploy/crds/pulumi.com_stacks.yaml") + filePath, cleanup, err := downloadFile("https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.3.0/deploy/crds/pulumi.com_stacks.yaml") if err != nil { return err } @@ -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.2.1"), + Image: pulumi.String("pulumi/pulumi-kubernetes-operator:v1.3.0"), Command: pulumi.StringArray{ pulumi.String("pulumi-kubernetes-operator"), }, diff --git a/deploy/deploy-operator-py/__main__.py b/deploy/deploy-operator-py/__main__.py index c5f0f914..f23071f0 100644 --- a/deploy/deploy-operator-py/__main__.py +++ b/deploy/deploy-operator-py/__main__.py @@ -10,7 +10,7 @@ def f(o): return f crds = kubernetes.yaml.ConfigFile("crds", - file="https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.2.1/deploy/crds/pulumi.com_stacks.yaml", + file="https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.3.0/deploy/crds/pulumi.com_stacks.yaml", transformations=[delete_status()]) operator_service_account = kubernetes.core.v1.ServiceAccount("operator-service-account") @@ -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.2.1", + "image": "pulumi/pulumi-kubernetes-operator:v1.3.0", "command": ["pulumi-kubernetes-operator"], "args": ["--zap-level=error", "--zap-time-encoding=iso8601"], "image_pull_policy": "Always", diff --git a/deploy/deploy-operator-ts/index.ts b/deploy/deploy-operator-ts/index.ts index 1b7d4c96..cefe041d 100644 --- a/deploy/deploy-operator-ts/index.ts +++ b/deploy/deploy-operator-ts/index.ts @@ -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.2.1/deploy/crds/pulumi.com_stacks.yaml"}); +const crds = new kubernetes.yaml.ConfigFile("crds", {file: "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.3.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", { @@ -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.2.1", + image: "pulumi/pulumi-kubernetes-operator:v1.3.0", args: ["--zap-level=error", "--zap-time-encoding=iso8601"], imagePullPolicy: "Always", env: [ diff --git a/deploy/yaml/operator.yaml b/deploy/yaml/operator.yaml index 7d6d44f3..605b5bb6 100644 --- a/deploy/yaml/operator.yaml +++ b/deploy/yaml/operator.yaml @@ -20,7 +20,7 @@ spec: emptyDir: {} containers: - name: pulumi-kubernetes-operator - image: pulumi/pulumi-kubernetes-operator:v1.2.1 + image: pulumi/pulumi-kubernetes-operator:v1.3.0 args: - "--zap-level=error" - "--zap-time-encoding=iso8601" diff --git a/go.mod b/go.mod index 3fa083a2..29ec53a6 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/prometheus/client_golang v1.11.0 github.com/prometheus/common v0.30.0 // indirect github.com/prometheus/procfs v0.7.3 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.17.0 + github.com/pulumi/pulumi/sdk/v3 v3.19.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.7.0 github.com/whilp/git-urls v1.0.0 diff --git a/go.sum b/go.sum index d6fe9613..f2c92cd6 100644 --- a/go.sum +++ b/go.sum @@ -884,12 +884,12 @@ github.com/prometheus/prometheus v0.0.0-20180315085919-58e2a31db8de/go.mod h1:oA github.com/prometheus/prometheus v1.8.2-0.20200110114423-1e64d757f711/go.mod h1:7U90zPoLkWjEIQcy/rweQla82OCTUzxVHE51G3OhJbI= github.com/prometheus/prometheus v2.3.2+incompatible/go.mod h1:oAIUtOny2rjMX0OWN5vPR5/q/twIROJvdqnQKDdil/s= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/sdk/v3 v3.16.0 h1:yqGysCf1LqlkengBnYqcbl5JI6JGySPN67+g60dMieU= -github.com/pulumi/pulumi/sdk/v3 v3.16.0/go.mod h1:252ou/zAU1g6E8iTwe2Y9ht7pb5BDl2fJlOuAgZCHiA= -github.com/pulumi/pulumi/sdk/v3 v3.17.0 h1:CxdgdmFEvo99JviXP6d332Y2AyAIPbLI6fu4K33vhAg= -github.com/pulumi/pulumi/sdk/v3 v3.17.0/go.mod h1:252ou/zAU1g6E8iTwe2Y9ht7pb5BDl2fJlOuAgZCHiA= +github.com/pulumi/pulumi/sdk/v3 v3.19.0 h1:nNJQQtXEK8rj/iM4mergHRneVl7GSHe0hK/2MvV7kbo= +github.com/pulumi/pulumi/sdk/v3 v3.19.0/go.mod h1:AnbQmAhp0ezO/MhcVjqkhvoQnxZ0+79Xb035NcuKrtM= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= +github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/robfig/cron v0.0.0-20170526150127-736158dc09e1/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=