Skip to content

Conversation

@dncampo
Copy link

@dncampo dncampo commented Jul 26, 2024

Just trying to deploy my first helm on the cluster

@dncampo dncampo self-assigned this Jul 26, 2024
@dwendland
Copy link
Collaborator

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

@dncampo
Copy link
Author

dncampo commented Jul 26, 2024

Done with app files for mongodb and orion-ld, @dwendland

namespace: argocd
spec:
destination:
namespace: deployai
Copy link
Collaborator

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.

Copy link
Author

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
Copy link
Collaborator

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.

Copy link
Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

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."

Copy link
Author

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
Copy link
Collaborator

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

Copy link
Author

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
Copy link
Collaborator

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)

Copy link
Author

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.

@dncampo dncampo requested a review from dwendland August 14, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants