This file contains hidden or 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
kubernetes/website vs versioned_kube_features.go (& kube_features.go) Deltas and General Inaccuracies [final] | |
kubernetes/website Inaccuracies | |
Note: below kubernetes/website JSON is a custom struct and differs from the website syntax BUT the values/info is identical | |
TBD - Add AppArmorFields feature? (missing on kubernetes/website) | |
TBD - Add DisableAllocatorDualWrite feature (missing on kubernetes/website) | |
TBD - Add ReloadKubeletServerCertificateFile feature (missing on kubernetes/website) | |
Add missing GA entry for DisableCloudProviders |
This file contains hidden or 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
package main | |
import ( | |
"context" | |
"fmt" | |
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" | |
"k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake" | |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
) |
This file contains hidden or 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/cluster/addons/dns/coredns/coredns.yaml.base b/cluster/addons/dns/coredns/coredns.yaml.base | |
index 3d438dce445..068c4f59e46 100644 | |
--- a/cluster/addons/dns/coredns/coredns.yaml.base | |
+++ b/cluster/addons/dns/coredns/coredns.yaml.base | |
@@ -74,7 +74,7 @@ data: | |
ttl 30 | |
} | |
prometheus :9153 | |
- forward . /etc/resolv.conf { | |
+ forward . 8.8.8.8 8.8.4.4 { |
This file contains hidden or 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
{ | |
"credHelpers": { | |
"asia.gcr.io": "gcloud", | |
"eu.gcr.io": "gcloud", | |
"gcr.io": "gcloud", | |
"marketplace.gcr.io": "gcloud", | |
"staging-k8s.gcr.io": "gcloud", | |
"us-central1-docker.pkg.dev": "gcloud", | |
"us-west2-docker.pkg.dev": "gcloud", | |
"us-west4-docker.pkg.dev": "gcloud", |
This file contains hidden or 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 get_all_contributors(owner, repo): | |
contributors = [] | |
per_page = 100 # Max value allowed by GitHub API | |
page = 1 | |
while True: | |
url = f"https://api.github.com/repos/{owner}/{repo}/contributors" | |
params = {'per_page': per_page, 'page': page} | |
headers = {'Accept': 'application/vnd.github.v3+json'} |
This file contains hidden or 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kaniko-root-go-ethereum-v2 | |
namespace: wi | |
labels: | |
kaniko-test-category: root | |
spec: | |
serviceAccountName: <SA> | |
nodeSelector: |
This file contains hidden or 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/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
This file contains hidden or 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/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
This file contains hidden or 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/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
This file contains hidden or 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
Defaulted container "kaniko" out of: kaniko, prepare (init) | |
[36mINFO[0m[0000] Resolved base name tonistiigi/xx:1.2.1 to xx | |
[36mINFO[0m[0000] Resolved base name busybox to build-dummy | |
[36mINFO[0m[0000] Resolved base name scratch to binary-dummy | |
[36mINFO[0m[0000] Resolved base name golang:1.20.5-bullseye to base | |
[36mINFO[0m[0000] Resolved base name base to criu | |
[36mINFO[0m[0000] Resolved base name base to registry-src | |
[36mINFO[0m[0000] Resolved base name base to registry | |
[36mINFO[0m[0000] Resolved base name base to swagger-src | |
[36mINFO[0m[0000] Resolved base name base to swagger |