Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAISTRA-680] Add the env variable POD_NAMESPACE to telemetry deployment #34

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

jwendell
Copy link
Member

As some adapters might rely on that.

Currently kubernetesenv adapter is using istio-system namespace,
because this env variable does not exist, thus, if the control plane
is deployed in other namespace we see errors like that:

2019-07-23T13:32:01.096074Z	error	istio.io/istio/pkg/kube/secretcontroller/secretcontroller.go:148: Failed to list *v1.Secret: secrets is forbidden: User "system:serviceaccount:i1:istio-mixer-service-account" cannot list resource "secrets" in API group "" in the namespace "istio-system"

As some adapters might rely on that.

Currently kubernetesenv adapter is using istio-system namespace,
because this env variable does not exist, thus, if the control plane
is deployed in other namespace we see errors like that:

```
2019-07-23T13:32:01.096074Z	error	istio.io/istio/pkg/kube/secretcontroller/secretcontroller.go:148: Failed to list *v1.Secret: secrets is forbidden: User "system:serviceaccount:i1:istio-mixer-service-account" cannot list resource "secrets" in API group "" in the namespace "istio-system"
```
@mergify mergify bot merged commit 3737fc7 into maistra:maistra-1.0 Jul 23, 2019
dgn pushed a commit to dgn/istio-maistra that referenced this pull request Jan 28, 2020
* Add build infra for proto to Go structs

* Add deepcopy for gogo types used in IstioControlPlane proto

* Bypass deepcopy for DynamicAny, not used

* WIP

* Disable deepcopy until clean solution can be found

* Minor updates
dgn pushed a commit to dgn/istio-maistra that referenced this pull request Jan 28, 2020
* Recursive directory watcher

* Fix initial timer value

* Lint

* Add copyright

* Review comments

* Add the codecov setup from istio repo (maistra#32)

* Add the codecov setup from istio repo

* Add the codecov setup from istio repo

* Extend CODEOWNERS (maistra#37)

* Add local codecov check script (maistra#23)

* Add local codecov check script

* Add codecov diff check script to check coverage drop

* Add codecov diff check script to check coverage drop

* Update common files. (maistra#39)

* Add build infra for proto to Go structs (maistra#34)

* Add build infra for proto to Go structs

* Add deepcopy for gogo types used in IstioControlPlane proto

* Bypass deepcopy for DynamicAny, not used

* WIP

* Disable deepcopy until clean solution can be found

* Minor updates

* add resources or certmanager. (maistra#45)

* Add Environment WG leads to CODEOWNERS (maistra#46)

* Refactoring utils (maistra#40)

* Refactoring utils

* Lint

* Copyrights

* Minor cleanup

* Overview of component package group (maistra#27)

* Config and profile samples (maistra#38)

* Config and profile samples

* Update profiles and sample

* Additional fields

* Default profile comes from compiled in

* Listen also for create and delete events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants