kubectl get ing -o jsonpath='{range .items[*]}{@.metadata.name}:{.spec.rules[*].host}{"\n"}{end}'
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
| I0715 14:09:41.134709 1 controller.go:231] PolicyController "msg"="policy created" "kind"="ClusterPolicy" "name"="block-updates-deletes" "uid"="230551e2-901c-4209-ae4b-1c26b9e05af2" | |
| panic: runtime error: invalid memory address or nil pointer dereference | |
| [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x2088154] | |
| goroutine 4790 [running]: | |
| github.com/kyverno/kyverno/pkg/metrics/policychanges.registerPolicyChangesMetric(0x0, {0x27cfba3, 0x7}, {0x27cf965, 0x7}, {0x27ca52f, 0x5}, {0x0, 0x32da7b0}, {0xc000dea4c8, ...}, ...) | |
| /src/pkg/metrics/policychanges/policyChanges.go:23 +0xb4 | |
| github.com/kyverno/kyverno/pkg/metrics/policychanges.RegisterPolicy(0xc00010c060, {0x3334698, 0xc000318a00}, {0x27cf9ff, 0x7}) | |
| /src/pkg/metrics/policychanges/policyChanges.go:48 +0xa8 | |
| github.com/kyverno/kyverno/pkg/policy.(*PolicyController).registerPolicyChangesMetricAddPolicy(0x440bc5, {{0x32da7b0, 0xc000a390e0}, 0x0}, {0x3334698, 0xc000318a00}) |
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
| SteamDeck Linux information. | |
| Comment for new file content. |
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
| name: swagger | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - master | |
| - main | |
| pull_request: |
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
| jobs: | |
| swagger: | |
| name: docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: supplypike/setup-bin@v1 | |
| with: | |
| uri: 'https://github.com/swaggo/swag/releases/download/v1.7.6/swag_1.7.6_Linux_x86_64.tar.gz' |
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: ConfigMap | |
| metadata: | |
| name: cloudflare-forwarded-port | |
| namespace: ingress-nginx | |
| data: | |
| main.lua: | | |
| local ngx = ngx | |
| local _M = {} |
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
| [Unit] | |
| Description=Cleanup pod directory on reboot | |
| Before=kubelet.service | |
| Before=docker.service # for rke install | |
| [Service] | |
| Type=oneshot | |
| Environment=KUBELET_DIR='/var/lib/kubelet/' | |
| ExecStart=/usr/bin/find ${KUBELET_DIR} -mindepth 1 -delete |
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 blob | |
| import ( | |
| "context" | |
| "io" | |
| "github.com/Azure/azure-storage-blob-go/azblob" | |
| ) | |
| type BlobReaderAt struct { |
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
| $ make bindeb-pkg | |
| [...] | |
| make[4]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop. | |
| make[4]: *** Waiting for unfinished jobs.... | |
| make[3]: *** [Makefile:1979: certs] Error 2 | |
| make[3]: *** Waiting for unfinished jobs.... | |
| [...] | |
| dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2 | |
| make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Interrupt |
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/notebook/base/handlers.py b/notebook/base/handlers.py | |
| index 743f7bac7..6d8f478cf 100755 | |
| --- a/notebook/base/handlers.py | |
| +++ b/notebook/base/handlers.py | |
| @@ -126,6 +126,8 @@ class AuthenticatedHandler(web.RequestHandler): | |
| self.force_clear_cookie(self.cookie_name) | |
| def get_current_user(self): | |
| + if "X-AUTH-USER" in self.request.headers: | |
| + return self.request.headers["X-AUTH-USER"] |