Comments (10)
Found simplier solution, just add --set hydra-maester.nameOverride=hydra-maester-unique_word
:
helm install hydra ory/hydra --version 0.13.0 -n namespace1 --set hydra-maester.nameOverride=hydra-maester-namespace1
helm install hydra ory/hydra --version 0.13.0 -n namespace2 --set hydra-maester.nameOverride=hydra-maester-namespace2
from k8s.
Yeah that's definitely a bug. You don't need maester, right?
from k8s.
Good point. I guess I don't..
from k8s.
The same issue shows up if you try to install oathkeeper and hydra in the same cluster with CDR enabled:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "maester-role" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "hydra": current value is "oathkeeper"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "hydra": current value is "default"
from k8s.
Ok, we definitely need to rename the role. PRs welcomed!
from k8s.
Came across this issue and also wanted a fix :)
from k8s.
I’ve managed to fix it by
- downloading repo with charts,
- renaming maester alias (https://github.com/ory/k8s/blob/master/helm/charts/hydra/Chart.yaml#L27),
- changing chart name (https://github.com/ory/k8s/blob/master/helm/charts/hydra-maester/Chart.yaml#L4)
- and installing from code.
It’s a temporary solution, but it works )
PS v0.12.0
from k8s.
Could that be included in the helm chart directly?
from k8s.
Hello there. Two things:
1 - There is a small bug in the RBAC, will create a PR in a second to fix it.
2 - Installing two copies of the same chart like this:
helm install hydra ory/hydra --version 0.3.3 -n namespace1
helm install hydra ory/hydra --version 0.3.3 -n namespace2
May not be the best approach, because as @golubovsky mentioned, the name is the same across both installation. Please install it like:
helm install hydra-maester ./helm/charts/hydra-maester -f local/hydra-maester.yaml --namespace foo1
helm install hydra-maester-2 ./helm/charts/hydra-maester -f local/hydra-maester.yaml --namespace foo2
from k8s.
NB: This also works for the Oathkeeper maester
--set oathkeeper-maester.nameOverride=oathkeeper-maester-{unique-value}
from k8s.
Related Issues (20)
- OathKeeper Default Helm Chart Issue | Pod throwing 503. HOT 12
- Extend Test Helm Charts for Hydra, Keto and Oathkeeper to allow user defined labels for test pod HOT 1
- Warning when setting a namespaces location in keto HOT 5
- deploy image of oathkeeper-maester to arm64 HOT 4
- Helm Chart Missing Keto Link
- failed to download "https://k8s.ory.sh/helm/charts/kratos-0.36.0.tgz" at version "0.36.0" HOT 1
- Unable to rotate secretsCookie in k8s helm chart HOT 1
- 0.37 release is wrongly numbered HOT 1
- Hydra helm chart values miss hydra.config examples. HOT 2
- Hydra Maester chart does not allow env variables, but maester v0.0.31 requires it
- Kratos selfservice UI incorrectly supports `BASE_PATH`
- Ory hydra dsn configuration through existing secret causes env var to not be defined HOT 2
- DSN environmental variable is not set optionally HOT 2
- Unable to use NodePort while deploying kratos and kratos-selfservice-ui-node helm charts
- Cannot "inject" values for email templates from files HOT 5
- support hooks HOT 2
- DSN is not optional for automigration HOT 5
- Allow DSN to retrieved some a separate secret HOT 5
- config.courier.template_override_path not used. HOT 2
- ory/kratos 0.45.0 is packaged with 1.1.0 instead of 1.2.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s.