Open oyviaase opened 4 years ago
Hey @oyviaase
Do you think you can help on this by providing a PR ?
Regards,
Yes
We can provide PRs for both issues
I see that you already have fixed the issue regarding securityContext in this commit: https://github.com/gravitee-io/helm-charts/commit/8a3a242f574b98dcc6a1649e63d8a222c7861544 although I don't see it documented anywhere or used in the provided values file. Although it might be better to give it another name such as enableSecurityContext
as it decides weather or not the securityContext
is added to the generated template.
Here's the PR for adding support for openshift routes https://github.com/gravitee-io/helm-charts/pull/62
@brasseld is it possible to get any respons on the PR?
@oyviaase I've put some comments. Please have a look. cheers.
@brasseld can you have another look at the PR? I've changed what you've asked us to change in it.
The current helm charts for apim are not directly compatible with running in an openshift environment. There are a couple of small changes that can be implemented to the chart that helps with providing better compatibility with openshift.
Expected Behaviour
It should be possible to run just
helm template apim ... --output-dir apim_install
and thenoc apply -Rf apim_install
and get a working copy of gravtiee api-manager up and runningCurrent Behaviour
The current behaviour is that it is necessary to manually change parts of the configuration generated by the helm chart, or automaticly patch it with a script before deploying it to openshift
Possible Solution
securityContext: {}
from the values file as openshift automaticly setsrunAsUser
,fsGroup
and other related valuesWe can provide PRs for both issues
Your Environment