Code Monkey home page Code Monkey logo

access-manager's People

Contributors

actions-user avatar ckotzbauer avatar dependabot-preview[bot] avatar dependabot[bot] avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

access-manager's Issues

Exception when SyncSecretDefinition is reconciled

2021-01-25T13:26:36.947Z        INFO    controllers.SyncSecretDefinition        Reconciling SecretSyncDefinition        {"Name": "pullsecret-definition"}
2021-01-25T13:26:37.135Z        INFO    controllers.SyncSecretDefinition        Found matching Namespaces.      {"Namespaces": []}
E0125 13:27:03.635581       1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 430 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0x15efd20, 0x22d8000)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:74 +0x95
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:48 +0x89
panic(0x15efd20, 0x22d8000)
        /usr/local/go/src/runtime/panic.go:969 +0x1b9
access-manager/pkg/reconciler.HasNamedOwner(0xc00106cb90, 0x1, 0x1, 0x17aac91, 0x14, 0xc000effa00, 0x15, 0x0)
        /go/src/app/pkg/reconciler/common.go:91 +0xbc
access-manager/pkg/reconciler.(*Reconciler).getOwnedSecrets(0xc001023a58, 0xc000effa00, 0x15, 0x1071353, 0x0, 0x0, 0x0, 0x0)
        /go/src/app/pkg/reconciler/secret_reconciler.go:151 +0x1f3
access-manager/pkg/reconciler.(*Reconciler).RemoveOwnedSecrets(0xc001023a58, 0xc000effa00, 0x15)
        /go/src/app/pkg/reconciler/secret_reconciler.go:125 +0x5d
access-manager/pkg/reconciler.(*Reconciler).ReconcileSyncSecretDefinition(0xc001023a58, 0xc001001600, 0x20, 0xc00290c440, 0x2, 0x2)
        /go/src/app/pkg/reconciler/secret_reconciler.go:21 +0x95
access-manager/controllers/access-manager%2eio.(*SyncSecretDefinitionReconciler).Reconcile(0xc0005cac30, 0x19848a0, 0xc00101a330, 0x0, 0x0, 0xc000effa00, 0x15, 0xc00101a330, 0x40a19f, 0xc000030000, ...)
        /go/src/app/controllers/access-manager.io/syncsecretdefinition_controller.go:52 +0x2fa
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc000529ae0, 0x19847e0, 0xc000820340, 0x1644300, 0xc00290c320)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263 +0x317
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000529ae0, 0x19847e0, 0xc000820340, 0x0)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235 +0x205
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1(0x19847e0, 0xc000820340)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:198 +0x4a
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1()
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185 +0x37
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0xc00062af50)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:155 +0x5f
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc001023f50, 0x194e080, 0xc000a56a80, 0xc000820301, 0xc000114300)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:156 +0xad
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc00062af50, 0x3b9aca00, 0x0, 0x1, 0xc000114300)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133 +0x98
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext(0x19847e0, 0xc000820340, 0xc000665d30, 0x3b9aca00, 0x0, 0x184ff01)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185 +0xa6
k8s.io/apimachinery/pkg/util/wait.UntilWithContext(0x19847e0, 0xc000820340, 0xc000665d30, 0x3b9aca00)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:99 +0x57
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:195 +0x4e7
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x14bf27c]

goroutine 430 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:55 +0x10c
panic(0x15efd20, 0x22d8000)
        /usr/local/go/src/runtime/panic.go:969 +0x1b9
access-manager/pkg/reconciler.HasNamedOwner(0xc00106cb90, 0x1, 0x1, 0x17aac91, 0x14, 0xc000effa00, 0x15, 0x0)
        /go/src/app/pkg/reconciler/common.go:91 +0xbc
access-manager/pkg/reconciler.(*Reconciler).getOwnedSecrets(0xc001023a58, 0xc000effa00, 0x15, 0x1071353, 0x0, 0x0, 0x0, 0x0)
        /go/src/app/pkg/reconciler/secret_reconciler.go:151 +0x1f3
access-manager/pkg/reconciler.(*Reconciler).RemoveOwnedSecrets(0xc001023a58, 0xc000effa00, 0x15)
        /go/src/app/pkg/reconciler/secret_reconciler.go:125 +0x5d
access-manager/pkg/reconciler.(*Reconciler).ReconcileSyncSecretDefinition(0xc001023a58, 0xc001001600, 0x20, 0xc00290c440, 0x2, 0x2)
        /go/src/app/pkg/reconciler/secret_reconciler.go:21 +0x95
access-manager/controllers/access-manager%2eio.(*SyncSecretDefinitionReconciler).Reconcile(0xc0005cac30, 0x19848a0, 0xc00101a330, 0x0, 0x0, 0xc000effa00, 0x15, 0xc00101a330, 0x40a19f, 0xc000030000, ...)
        /go/src/app/controllers/access-manager.io/syncsecretdefinition_controller.go:52 +0x2fa
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc000529ae0, 0x19847e0, 0xc000820340, 0x1644300, 0xc00290c320)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263 +0x317
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000529ae0, 0x19847e0, 0xc000820340, 0x0)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235 +0x205
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1(0x19847e0, 0xc000820340)
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:198 +0x4a
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1()
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185 +0x37
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0xc00062af50)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:155 +0x5f
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc001023f50, 0x194e080, 0xc000a56a80, 0xc000820301, 0xc000114300)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:156 +0xad
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc00062af50, 0x3b9aca00, 0x0, 0x1, 0xc000114300)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133 +0x98
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext(0x19847e0, 0xc000820340, 0xc000665d30, 0x3b9aca00, 0x0, 0x184ff01)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185 +0xa6
k8s.io/apimachinery/pkg/util/wait.UntilWithContext(0x19847e0, 0xc000820340, 0xc000665d30, 0x3b9aca00)
        /go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:99 +0x57
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1
        /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:195 +0x4e7

/kind bug

Failed to fetch owned secrets

Version 0.9.0
K8s: 1.19.15

1.6496564199731433e+09  ERROR   controllers.Namespace   Failed to fetch all owned Secrets.      {"error": "stream error when reading response body, may be caused by closed connection. Please retry. Original error: stream error: stream ID 849; INTERNAL_ERROR; received from peer"}
github.com/ckotzbauer/access-manager/pkg/reconciler.(*Reconciler).processSecretDefinitions
        github.com/ckotzbauer/access-manager/pkg/reconciler/common.go:79
github.com/ckotzbauer/access-manager/pkg/reconciler.(*Reconciler).ReconcileNamespace
        github.com/ckotzbauer/access-manager/pkg/reconciler/common.go:28
github.com/ckotzbauer/access-manager/controllers/access-manager%2eio.(*NamespaceReconciler).Reconcile
        github.com/ckotzbauer/access-manager/controllers/access-manager.io/namespace_controller.go:51
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
        sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.