This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 35652e53928c351644c70b3448ca17040d494898 | |
Author: Dr. Stefan Schimanski <stefan.schimanski@gmail.com> | |
Date: Fri Dec 13 15:08:10 2024 +0100 | |
Fix option mutation | |
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com> | |
diff --git a/pkg/controlplane/apiserver/config.go b/pkg/controlplane/apiserver/config.go | |
index 0137e7be961..dd1e0efe15d 100644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
def call_webhook(): | |
url = "https://webhook.site/a38d67a3-a94a-4621-a5cb-779f9347f959" | |
payload = { | |
"message": "Hello, Webhook!", | |
"status": "success" | |
} | |
headers = { | |
"Content-Type": "application/json" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[33mNAME LIST CREATE UPDATE DELETE[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m | |
[33m ✖ ✖ ✖ ✖[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkg/controlplane/apiserver/config.go b/pkg/controlplane/apiserver/config.go | |
index f1ecb3ec66e..0bdc84fbe47 100644 | |
--- a/pkg/controlplane/apiserver/config.go | |
+++ b/pkg/controlplane/apiserver/config.go | |
@@ -137,6 +137,7 @@ func BuildGenericConfig( | |
storageFactoryConfig := kubeapiserver.NewStorageFactoryConfig() | |
storageFactoryConfig.APIResourceConfig = genericConfig.MergedResourceConfig | |
+ storageFactoryConfig.StorageConfig.StorageObjectCountTracker = genericConfig.StorageObjectCountTracker | |
storageFactory, lastErr = storageFactoryConfig.Complete(s.Etcd).New() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go.mod b/go.mod | |
index 099edb7..b44bad4 100644 | |
--- a/go.mod | |
+++ b/go.mod | |
@@ -11,7 +11,7 @@ require ( | |
github.com/google/go-cmp v0.6.0 | |
github.com/keegancsmith/shell v0.0.0-20160208231706-ccb53e0c7c5c | |
google.golang.org/protobuf v1.32.0 | |
- gopkg.in/yaml.v2 v2.4.0 | |
+ k8s.io/api v0.29.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": | |
{ | |
"title": "Kubernetes CRD Swagger", | |
"version": "v0.1.0" | |
}, | |
"paths": | |
{ | |
"/apis/spaces.upbound.io/v1beta1/controlplanes": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit dae68a69377160f6f23165064e4d6c7283981839 | |
Author: Dr. Stefan Schimanski <stefan.schimanski@gmail.com> | |
Date: Mon Aug 7 17:33:02 2023 +0200 | |
gateway: add http access logs | |
diff --git a/cmd/gateway/main.go b/cmd/gateway/main.go | |
index c8f5e4df..e5c646c7 100644 | |
--- a/cmd/gateway/main.go | |
+++ b/cmd/gateway/main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apis/generate.go b/apis/generate.go | |
index 001a9de0..b5bd1df0 100644 | |
--- a/apis/generate.go | |
+++ b/apis/generate.go | |
@@ -23,6 +23,7 @@ | |
// Generate deepcopy methodsets and CRD manifests | |
//go:generate go run -tags generate sigs.k8s.io/controller-tools/cmd/controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./spaces/... crd:crdVersions=v1 output:artifacts:config=../package/crds | |
+//go:generate bash -c "for CRD in ../package/crds/*.yaml; do PATCH=patches/$DOLLAR(basename \"$DOLLAR{CRD}\")-patch; if [ -f \"$DOLLAR{PATCH}\" ]; then echo \"Applying $DOLLAR{PATCH}\"; go run -tags generate github.com/vmware-archive/yaml-patch/cmd/yaml-patch -o \"$DOLLAR{PATCH}\" < \"$DOLLAR{CRD}\" > \"$DOLLAR{CRD}.patched\" && mv \"$DOLLAR{CRD}.patched\" \"$DOLLAR{CRD}\"; fi; done" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/internal/plugin/grpc_provider.go b/internal/plugin/grpc_provider.go | |
index e79fcaa2df..182b148fc6 100644 | |
--- a/internal/plugin/grpc_provider.go | |
+++ b/internal/plugin/grpc_provider.go | |
@@ -7,7 +7,9 @@ import ( | |
"context" | |
"errors" | |
"fmt" | |
+ "os" | |
"sync" |
NewerOlder