-
Notifications
You must be signed in to change notification settings - Fork 6
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
Refactoring #91
base: master
Are you sure you want to change the base?
Refactoring #91
Conversation
fba2ef9
to
6109598
Compare
6109598
to
ab79ca0
Compare
* All root modules moved to the same directory level * Root modules are numbered according to apply order * Fixes Smad service stack deployment instructions * Updates READ.ME * Upgrades provider version * Unnecessary files, variables and comments are deleted Signed-off-by: Nindemic <[email protected]>
* Divides container_deployment into separate modules * Ambassador, Mongo, Jaeger and Prometheus_stack have separate modules Signed-off-by: Nindemic <[email protected]>
* Module container_registry is moved and renamed as a root module * Documentation is updates Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Nindemic <[email protected]>
*Adds mongoDB storage for telemetry data *Adds Kafka mongoDB connector Signed-off-by: Nindemic <[email protected]>
cb2182d
to
53cdb65
Compare
* Update documentation * Fixes READ.ME instructions for module deployment * Updates docs/ARCHITECTURE.md * Updates docs/SETUP.md Signed-off-by: Nindemic <[email protected]>
53cdb65
to
eb1aebc
Compare
Signed-off-by: Mikael Saarinen <[email protected]>
Signed-off-by: Mikael Saarinen <[email protected]>
bootstrap.servers: kafka-0.kafka-headless.default.svc.cluster.local:9092 | ||
security.protocol: SASL_PLAINTEXT | ||
sasl.mechanism: SCRAM-SHA-512 | ||
sasl.jaas.config: "org.apache.kafka.common.security.scram.ScramLoginModule required username=\"hono\" password=\"hono-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.
Configure Hono to authenticate with custom kafka as common client
jaas: | ||
clientUser: hono | ||
clientPassword: hono-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.
These option were deprecated on the kafka chart
terraform: | ||
name: 'Terraform Validate and plan' | ||
test_storagerg_module: | ||
name: 'Test and deploy 01_Storage_rg module with Terraform Validate and plan' |
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.
Workflow now tests and deploys the storagerg module to Azure. Deployhono -module plan would fail because that module needs outputs of storagerg -module shares. Because of this storage_rg needs to be deployed.
run: terraform apply -auto-approve | ||
|
||
test_deployhono_module: | ||
name: 'Test 02_deploy_hono module with Terraform Validate and plan' |
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.
Test deployHono module with validate and plan.
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.
Tested this workflow here
msrn#5
You can see output of checks here
https://github.com/msrn/smad-deploy-azure/actions/runs/1663019863
@@ -61,6 +108,40 @@ jobs: | |||
id: plan | |||
run: terraform plan | |||
#continue-on-error: true | |||
|
|||
destroy_storagerg_module: | |||
name: 'Destroy 01_Storage_rg module from Azure subscription' |
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.
Destroy previously made storagerg
*Deployment was failing due to wrong deployment order Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Mikael Saarinen <[email protected]>
Signed-off-by: Mikael Saarinen <[email protected]>
Signed-off-by: Mikael Saarinen <[email protected]>
Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Nindemic <[email protected]>
Signed-off-by: Nindemic <[email protected]>
WIP