Replies: 4 comments 1 reply
-
There are 2 cases:
|
Beta Was this translation helpful? Give feedback.
-
I believe that |
Beta Was this translation helpful? Give feedback.
-
Thanks for your inputs @arheom , @mgubaidullin . If I understand correctly, every "integrator" is now responsible to manually create those configuration file as part of their project? |
Beta Was this translation helpful? Give feedback.
-
This #1125 (comment) is not correct.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to reproduce:
Issue:
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://10.43.0.1:443/api/v1/namespaces/dev/secrets/dev-postgresql. Message: secrets "dev-postgresql" is forbidden: User "system:serviceaccount:dev:default" cannot get resource "secrets" in API group "" in the namespace "dev". Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=secrets, name=dev-postgresql, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=secrets "dev-postgresql" is forbidden: User "system:serviceaccount:dev:default" cannot get resource "secrets" in API group "" in the namespace "dev", metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
Notes:
It looks like ServiceAccount is set to default instead of karavan. We found file in which serviceAccount is defined, but we're not sure if it's anywhere applied. Might be related to that?
File:
karavan-web/karavan-app/src/main/resources/snippets/deployment.jkube.yaml
Bean example:
- beans: - constructors: {} name: PostgresqlDeadletterDataSource properties: url: jdbc:postgresql://dev-postgresql.dev.svc.cluster.local:5432/db username: '{{secret:dev-postgresql-username/username}}' password: '{{secret:dev-postgresql/password}}' driverClassName: org.postgresql.Driver type: org.apache.commons.dbcp2.BasicDataSource
Beta Was this translation helpful? Give feedback.
All reactions