Skip to content

Commit

Permalink
Prep v1.7.0 release (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveklak authored Jun 9, 2022
1 parent 8e2f6cc commit cb9f70c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ CHANGELOG
=========

## HEAD (Unreleased)
(None)

## 1.7.0 (2022-06-09)
- Use the first namespace from the env entry WATCH_NAMESPACE for leadership election, when the value is a list; and bail if the value is malformed [#278](https://github.com/pulumi/pulumi-kubernetes-operator/pull/278)
- Bump to Pulumi v3.34.0

## 1.6.0 (2022-04-21)
- Add `State` to `additionalPrinterColumns`
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM pulumi/pulumi:3.30.0
FROM pulumi/pulumi:3.34.0

ENV OPERATOR=/usr/local/bin/pulumi-kubernetes-operator

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.6.0/deploy/crds/pulumi.com_stacks.yaml"
File = "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.7.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.6.0",
Image = "pulumi/pulumi-kubernetes-operator:v1.7.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.6.0/deploy/crds/pulumi.com_stacks.yaml")
filePath, cleanup, err := downloadFile("https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.7.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.6.0"),
Image: pulumi.String("pulumi/pulumi-kubernetes-operator:v1.7.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.6.0/deploy/crds/pulumi.com_stacks.yaml",
file="https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.7.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.6.0",
"image": "pulumi/pulumi-kubernetes-operator:v1.7.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.6.0/deploy/crds/pulumi.com_stacks.yaml"});
const crds = new kubernetes.yaml.ConfigFile("crds", {file: "https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/v1.7.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.6.0",
image: "pulumi/pulumi-kubernetes-operator:v1.7.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.6.0
image: pulumi/pulumi-kubernetes-operator:v1.7.0
args:
- "--zap-level=error"
- "--zap-time-encoding=iso8601"
Expand Down

0 comments on commit cb9f70c

Please sign in to comment.