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

Add java as supported language for CustomResource overlays #3120

Merged
merged 2 commits into from
Jul 23, 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Fixed

- Updated logic to accurately detect if a resource is a Patch variant. (https://github.com/pulumi/pulumi-kubernetes/pull/3102)
- Added java as supported language for CustomResource overlays. (https://github.com/pulumi/pulumi-kubernetes/pull/3120)

## 4.15.0 (July 9, 2024)

Expand Down
6 changes: 4 additions & 2 deletions provider/cmd/pulumi-resource-kubernetes/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -72598,7 +72598,8 @@
"csharp",
"go",
"python",
"nodejs"
"nodejs",
"java"
],
"inputProperties": {
"apiVersion": {
Expand Down Expand Up @@ -72654,7 +72655,8 @@
"csharp",
"go",
"python",
"nodejs"
"nodejs",
"java"
],
"inputProperties": {
"apiVersion": {
Expand Down
4 changes: 2 additions & 2 deletions provider/pkg/gen/overlays.go
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ var yamlConfigGroupV2Resource = pschema.ResourceSpec{
var apiextensionsCustomResource = pschema.ResourceSpec{
ObjectTypeSpec: pschema.ObjectTypeSpec{
IsOverlay: true,
OverlaySupportedLanguages: []string{"csharp", "go", "python", "nodejs"},
OverlaySupportedLanguages: []string{"csharp", "go", "python", "nodejs", "java"},
Description: "CustomResource represents an instance of a CustomResourceDefinition (CRD). For example, the\n CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to\n instantiate this as a Pulumi resource, one could call `new CustomResource`, passing the\n `ServiceMonitor` resource definition as an argument.",
Properties: map[string]pschema.PropertySpec{
"apiVersion": {
Expand Down Expand Up @@ -1592,7 +1592,7 @@ var apiextensionsCustomResource = pschema.ResourceSpec{
var apiextensionsCustomResourcePatch = pschema.ResourceSpec{
ObjectTypeSpec: pschema.ObjectTypeSpec{
IsOverlay: true,
OverlaySupportedLanguages: []string{"csharp", "go", "python", "nodejs"},
OverlaySupportedLanguages: []string{"csharp", "go", "python", "nodejs", "java"},
Description: "CustomResourcePatch represents an instance of a CustomResourceDefinition (CRD). For example, the\n CoreOS Prometheus operator exposes a CRD `monitoring.coreos.com/ServiceMonitor`; to\n instantiate this as a Pulumi resource, one could call `new CustomResourcePatch`, passing the\n `ServiceMonitor` resource definition as an argument.",
Properties: map[string]pschema.PropertySpec{
"apiVersion": {
Expand Down
Loading