-
Notifications
You must be signed in to change notification settings - Fork 3
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
Testing tutorial #50
base: master
Are you sure you want to change the base?
Testing tutorial #50
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to set the target namespace, otherwise argo does not know where to deploy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to 'mongodb-david-tutorial'
|
||
auth: | ||
enabled: true | ||
existingSecret: mongodb-secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried but I think I'm doing something wrong. I receive the message: "error: cannot get sealed secret service: Unauthorized."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solved and pushed
- mongodb-trust | ||
user: root | ||
existingSecret: | ||
name: mongodb-secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This secret does not exist, see above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is different to the namespace you create (underscore)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to '-' to have the style compliant with the one used in other apps.
Just trying to deploy my first helm on the cluster