Conversation
|
Please add apps for mongo and orion in a sub-folder of your namespace: https://github.com/FIWARE-Ops/fiware-gitops/tree/master/aws/apps |
|
Done with app files for mongodb and orion-ld, @dwendland |
| namespace: argocd | ||
| spec: | ||
| destination: | ||
| namespace: deployai |
There was a problem hiding this comment.
You need to set the target namespace, otherwise argo does not know where to deploy.
There was a problem hiding this comment.
Changed to my namespace: david-tutorial (changed as well '_' to '-')
| user: root | ||
| mech: "SCRAM-SHA-1" | ||
| hosts: | ||
| - mongodb-trust |
There was a problem hiding this comment.
The mongo will not be available under this hostname. If you don't specify to override the name automatically given by helm/argo, it will most likely be the name you specified in the mongodb argocd application.
There was a problem hiding this comment.
changed to 'mongodb-david-tutorial'
|
|
||
| auth: | ||
| enabled: true | ||
| existingSecret: mongodb-secret |
There was a problem hiding this comment.
You also need to create the secrets. Also see https://github.com/FIWARE-Ops/fiware-gitops?tab=readme-ov-file#8-create-secrets
And compare to, e.g., https://github.com/FIWARE-Ops/fiware-gitops/blob/master/aws/deployai/secrets/mongodb-sealed-secret.yaml
There was a problem hiding this comment.
I've tried but I think I'm doing something wrong. I receive the message: "error: cannot get sealed secret service: Unauthorized."
| - mongodb-trust | ||
| user: root | ||
| existingSecret: | ||
| name: mongodb-secret |
There was a problem hiding this comment.
This secret does not exist, see above
There was a problem hiding this comment.
I've pushed the 'sealed' secret. Is this the one that is needed?
| namespace: argocd | ||
| spec: | ||
| destination: | ||
| namespace: david-tutorial |
There was a problem hiding this comment.
This is different to the namespace you create (underscore)
There was a problem hiding this comment.
changed to '-' to have the style compliant with the one used in other apps.
Just trying to deploy my first helm on the cluster