Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep v1.15.0 release #562

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ 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)
- Update pulumi/pulumi to v3.92.0 [#517](https://github.com/pulumi/pulumi-kubernetes-operator/pull/559)
- Update pulumi/pulumi to v3.92.0 [#559](https://github.com/pulumi/pulumi-kubernetes-operator/pull/559)

## 1.14.0 (2023-11-08)
- Changed indentation in deploy/helm/pulumi-operator/templates/deployment.yaml for volumes and volumeMounts.
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
Loading