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

Use namespace of Pod as namespace for cert secret #347

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

maxsmythe
Copy link
Contributor

Fixes #346

Signed-off-by: Max Smythe smythe@google.com

Fixes open-policy-agent#346

Signed-off-by: Max Smythe <smythe@google.com>
Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@maxsmythe maxsmythe merged commit 50933a0 into open-policy-agent:master Dec 12, 2019
@maxsmythe maxsmythe deleted the use-current-namespace branch December 12, 2019 22:23
sozercan pushed a commit to sozercan/gatekeeper that referenced this pull request Dec 17, 2019
sozercan pushed a commit to sozercan/gatekeeper that referenced this pull request Dec 17, 2019
sozercan added a commit that referenced this pull request Dec 17, 2019
* add opencensus metrics and prom exporter

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* prom exporter test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* record test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* address comments

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* update opencensus v0.22.2

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* address comments

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* change default port

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* fix defer

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* fix auditduration name in test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix expected port in test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* move total constraints to controller

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update with new map for cache

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix when cache doesn't include remaining tags

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* Update kind to v0.6.0 (#303)

* update kind version to 0.6.0

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* remove deprecated command

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* set TERM to disable fancy output

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>
Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* err check

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* make vendor

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix rebase

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix lint

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* add lock to delete and nested loop for known status/action

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* defer

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* requestResponse type

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* shared mutex

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* move reportMetrics

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* anonymous constraintcache

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* unexport

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* add test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix test nits

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* return err

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* added log.fatal

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* return to manager

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* remove goroutine

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix test

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* fix lint

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* handle stop

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@users.noreply.github.com>
Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* update

Signed-off-by: Sertaç Özercan <sozercan@gmail.com>

* Use namespace of Pod as namespace for cert secret (#347)

Fixes #346

Signed-off-by: Max Smythe <smythe@google.com>

* Add capability PSP control aspect to library (#340)

* Add capability PSP control aspect to library

Signed-off-by: Max Smythe <smythe@google.com>

* Update PSP library README

Signed-off-by: Max Smythe <smythe@google.com>

* Fix template kind

Signed-off-by: Max Smythe <smythe@google.com>
Signed-off-by: Sertaç Özercan <sozercan@gmail.com>
@faarshad
Copy link

Hi @maxsmythe , will it be possible to cut a release so that this change is available in a newer docker image. I don't think that the current image(quay.io/open-policy-agent/gatekeeper:v3.1.0-beta.0) has this change in it.
Thanks for your time on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tls.crt not found when running GK in another namespace
3 participants