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.

Allow ambassador Helm chart to use CRDS when namespaced

See original GitHub issue

Describe the bug I have a ambassador instance deployed as a namespaced resource and get the following

2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: looking up ID for namespace god-default
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for authservices.getambassador.io: Forbidden
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for mappings.getambassador.io: Forbidden
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for modules.getambassador.io: Forbidden
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for ratelimitservices.getambassador.io: Forbidden
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for tcpmappings.getambassador.io: Forbidden
2019-05-29 08:34:51 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for tlscontexts.getambassador.io: Forbidden
2019-05-29 08:34:52 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRD type definition unreadable for tracingservices.getambassador.io: Forbidden
2019-05-29 08:34:52 kubewatch [32 TMainThread] 0.70.1 DEBUG: CRDs are not available. To enable CRD support, configure the Ambassador CRD type definitions and RBAC, then restart the Ambassador pod.

To Reproduce Steps to reproduce the behavior:

  1. Deploy crds
  2. Deploy ambassador using namespaced: true
  3. ambassador rolls back to annotation only mode

Expected behavior Ambassador should be able to read CRDS depoyed within its namespace without using ClusterRole RBAC definitions

Versions (please complete the following information):

  • Ambassador: 0.70.1
  • Kubernetes environment GKE

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
volatilemolotovcommented, Jun 10, 2019

Best way IMHO is to fallback to annotations if no custom resources are found and log it in the stdout. If someone cannot reach its mapping or ambasador itself first thing would be to check the logs. Pod should not crash because you still can use annotations which can be considered as a ready state

1reaction
kflynncommented, Jun 7, 2019

@bourquep That is definitely a bug, yes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow ambassador Helm chart to use CRDS when namespaced
1 DEBUG: CRDs are not available. To enable CRD support, configure the Ambassador CRD type definitions and RBAC, then restart the Ambassador pod....
Read more >
ambassador 6.7.9 · nitishm/azureorkestra - Artifact Hub
This chart bootstraps an Ambassador deployment on a Kubernetes cluster using the Helm package manager. Prerequisites. Kubernetes 1.11+ ...
Read more >
stable/ambassador - helm-charts - GitLab
CRDs. This helm chart includes the creation of the core CRDs Ambassador uses for configuration. The crds flags let you configure how a...
Read more >
Install with Helm | Edge Stack
Ambassador Edge Stack can be installed via a Helm chart with a few simple steps, depending on if you are deploying for the...
Read more >
Install with Helm | Ambassador
The Emissary-ingress Helm chart is hosted by Datawire and published at ... To enable CRD creation in Helm 2, the crd-install hook is...
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