This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| app: mongo | |
| name: mongo | |
| namespace: hyg | |
| spec: | |
| replicas: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: hyg-logs | |
| namespace: hyg | |
| spec: | |
| accessModes: | |
| - ReadWriteMany | |
| storageClassName: azurefile-premium | |
| resources: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: managed-prem-mongo | |
| namespace: hyg | |
| spec: | |
| accessModes: | |
| - ReadWriteOnce | |
| storageClassName: managed-premium | |
| resources: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dummy values for illustration | |
| apiVersion: v1 | |
| data: | |
| mongoadminpwd: DSESSssdsec$$ | |
| mongouserpwd: ZSdsdJBBJBs# | |
| apisecretkey: SDASDFhdf63esfdsfsdf#F$DffsdsDF | |
| kind: Secret | |
| metadata: | |
| creationTimestamp: null | |
| name: hygieia-secret |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| data: | |
| mongoadmin: admin | |
| mongosvc: mongo-svc | |
| mongoport: "27017" | |
| mongouser: dashboarduser | |
| apihost: hygieia-api-svc | |
| apiport: "8080" | |
| bamboo-server: http://bamboo-server-name.com | |
| bamboo-user: hyg-user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "variables": { | |
| "ssh_user": "admin", | |
| "ssh_pass": "abc@341256", | |
| "mgd_image": "apchewebserver", | |
| "rg": "rg_name", | |
| "subscription_id": "subscription-id", | |
| "image_ver": "1.0.0" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "azurerm_key_vault_secret" "test_build" { | |
| name = "prikey-test-build" | |
| value = base64encode(file("/root/.ssh/id_rsa")) | |
| key_vault_id = azurerm_key_vault.example.id | |
| tags = { | |
| env = "dev" | |
| app = "app1" | |
| owner = "jeewan" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module "core_modules" { | |
| source = "../../data-sources/" | |
| } | |
| terraform { | |
| backend "azurerm" { | |
| resource_group_name = "core" | |
| storage_account_name = "corestorageaccforlab" | |
| container_name = "terraform-state" | |
| key = "key_vault.tfstate" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module "core_modules" { | |
| source = "../../data-sources/" | |
| } | |
| terraform { | |
| backend "azurerm" { | |
| resource_group_name = "core" | |
| storage_account_name = "corestorageaccforlab" | |
| container_name = "terraform-state" | |
| key = "key_vault-query.tfstate" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env python | |
| """ | |
| This is template for ansible dynamic inventory script. | |
| """ | |
| import json | |
| import argparse | |
| host = "host_ip" |
NewerOlder