Skip to content

Commit

Permalink
Prep v1.15.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeffryes committed Mar 12, 2024
1 parent 6ea80df commit 61d5658
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 42 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ CHANGELOG
=========

## HEAD (unreleased)

## 1.15.0 (2024-04-12)
- Clean up stale workspace directories and don't treat them as a crude lock. [#552](https://github.com/pulumi/pulumi-kubernetes-operator/pull/552)
- Fixed `nodeSelector`, `affinity`, and `tolerations` Helm chart values that were previously effectively ignored.
[#548](https://github.com/pulumi/pulumi-kubernetes-operator/pull/548)
Expand Down
70 changes: 35 additions & 35 deletions deploy/deploy-operator-cs/MyStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

class MyStack : Stack
{
public const string DefaultCRDVersion = "v1.14.0";
public const string DefaultOperatorVersion = "v1.14.0";
public const string DefaultCRDVersion = "v1.15.0";
public const string DefaultOperatorVersion = "v1.15.0";

public MyStack()
{
Expand Down Expand Up @@ -36,15 +36,15 @@ public MyStack()
var operatorRole = new Kubernetes.Rbac.V1.Role($"operator-role-{ns}", new RoleArgs
{
Metadata = new ObjectMetaArgs{Namespace = ns},
Rules =
Rules =
{
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"",
},
Resources =
Resources =
{
"pods",
"services",
Expand All @@ -55,7 +55,7 @@ public MyStack()
"configmaps",
"secrets",
},
Verbs =
Verbs =
{
"create",
"delete",
Expand All @@ -68,18 +68,18 @@ public MyStack()
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"apps",
},
Resources =
Resources =
{
"deployments",
"daemonsets",
"replicasets",
"statefulsets",
},
Verbs =
Verbs =
{
"create",
"delete",
Expand All @@ -92,81 +92,81 @@ public MyStack()
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"monitoring.coreos.com",
},
Resources =
Resources =
{
"servicemonitors",
},
Verbs =
Verbs =
{
"create",
"get",
},
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"apps",
},
ResourceNames =
ResourceNames =
{
"pulumi-kubernetes-operator",
},
Resources =
Resources =
{
"deployments/finalizers",
},
Verbs =
Verbs =
{
"update",
},
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"",
},
Resources =
Resources =
{
"pods",
},
Verbs =
Verbs =
{
"get",
},
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"apps",
},
Resources =
Resources =
{
"replicasets",
"deployments",
},
Verbs =
Verbs =
{
"get",
},
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"pulumi.com",
},
Resources =
Resources =
{
"*",
},
Verbs =
Verbs =
{
"create",
"delete",
Expand All @@ -179,15 +179,15 @@ public MyStack()
},
new PolicyRuleArgs
{
ApiGroups =
ApiGroups =
{
"coordination.k8s.io",
},
Resources =
Resources =
{
"leases",
},
Verbs =
Verbs =
{
"create",
"get",
Expand All @@ -201,7 +201,7 @@ public MyStack()
var operatorRoleBinding = new Kubernetes.Rbac.V1.RoleBinding($"operator-role-binding-{ns}", new RoleBindingArgs
{
Metadata = new ObjectMetaArgs{Namespace = ns},
Subjects =
Subjects =
{
new SubjectArgs
{
Expand All @@ -224,7 +224,7 @@ public MyStack()
Replicas = 1,
Selector = new LabelSelectorArgs
{
MatchLabels =
MatchLabels =
{
{ "name", "pulumi-kubernetes-operator" },
},
Expand All @@ -233,31 +233,31 @@ public MyStack()
{
Metadata = new ObjectMetaArgs
{
Labels =
Labels =
{
{ "name", "pulumi-kubernetes-operator" },
},
},
Spec = new PodSpecArgs
{
ServiceAccountName = operatorServiceAccount.Metadata.Apply(md => md.Name),
Containers =
Containers =
{
new ContainerArgs
{
Name = "pulumi-kubernetes-operator",
Image = $"pulumi/pulumi-kubernetes-operator:{operatorVersion}",
Command =
Command =
{
"pulumi-kubernetes-operator",
},
Args =
Args =
{
"--zap-level=error",
"--zap-time-encoding=iso8601",
},
ImagePullPolicy = "Always",
Env =
Env =
{
new EnvVarArgs
{
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 @@ -12,8 +12,8 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

const DefaultCRDVersion = "v1.14.0"
const DefaultOperatorVersion = "v1.14.0"
const DefaultCRDVersion = "v1.15.0"
const DefaultOperatorVersion = "v1.15.0"

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
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 @@ -2,8 +2,8 @@
from pulumi.resource import ResourceOptions
import pulumi_kubernetes as kubernetes

DEFAULT_CRD_VERSION = "v1.14.0"
DEFAULT_OPERATOR_VERSION = "v1.14.0"
DEFAULT_CRD_VERSION = "v1.15.0"
DEFAULT_OPERATOR_VERSION = "v1.15.0"

conf = pulumi.Config()
namespace = conf.get("namespace", "default")
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,8 +1,8 @@
import * as pulumi from "@pulumi/pulumi";
import * as kubernetes from "@pulumi/kubernetes";

const defaultCRDVersion = "v1.14.0";
const defaultOperatorVersion = "v1.14.0";
const defaultCRDVersion = "v1.15.0";
const defaultOperatorVersion = "v1.15.0";

const config = new pulumi.Config();
const deployNamespace = config.get("namespace") || 'default';
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.14.0
image: pulumi/pulumi-kubernetes-operator:v1.15.0
args:
- "--zap-level=error"
- "--zap-time-encoding=iso8601"
Expand Down

0 comments on commit 61d5658

Please sign in to comment.