question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not update - source does not permit it after upgrade to 6.x

See original GitHub issue

Seeing a lot of these logs now:

2021-12-17 19:57:55.703 +00:00 [WRN] (ES.Kubernetes.Reflector.Core.SecretMirror) Could not update dev-xxxx/xxx-tls - Source reflector/xxx-tls does not permit it.

Interesting that the annotation looks like:

      reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
      reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces: "(dev|staging|prod)-[a-zA-Z0-9-_]+"
      reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true"
      reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "(dev|staging|prod)-[a-zA-Z0-9-_]+"

and the namespace is called dev-...

Another interesting fact is that it does work when creating new namespaces (it properly created the secrets)… it seems to sync, but on its scheduler / cron it fails for the existing ones.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
schwajocommented, Jan 6, 2022

Hi, I’m having this error too, but I think, that’s not related to any annotation of secrets. It’s an error (typo) in line 222 of file ResourceMirror.cs Instead var source = await TryResourceGet(resourceRef); you have to do var source = await TryResourceGet(sourceRef); because you want the the source object. I don’t have the possibility to compile and test myself, so I can only drop a hint here.

2reactions
winromuluscommented, Dec 17, 2021

Thanks for supplying this. I’m in the middle of moving and don’t have my dev cluster up. I’ll try to set it up during the weekend to try to reproduce this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git error on git pull (unable to update local ref)
My team and I ran into this error, unable to update local ref, when doing a pull in SourceTree. Update 2020: Per @Edward...
Read more >
Force update from unsigned repository - apt
--allow-unauthenticated Ignore if packages can't be authenticated and don't prompt about it. This can be useful while working with local ...
Read more >
git-fusion-notes.txt
Check by running: p4 keys -e 'git-fusion-*-lock' This should return no results when all Git Fusion services have stopped. 3 Upgrade using the...
Read more >
Step 4 - Configure Group Policy Settings for Automatic ...
In the Group Policy Management Editor, Windows Update policies for computer-based configuration are located in the path PolicyName > Computer ...
Read more >
Chapter 4. Upgrades from Debian 11 (bullseye)
Another possible workaround for this problem is to temporarily add both bullseye and bookworm sources to your APT source-list files and run apt...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found