Create Git Config (GitHub)
Create Development (dev) Repository
-
Create a private blank code repository under GitHub You can name it as ‘eks-blueprint-workloads-dev’. Refer to screenshot below
-
Add SSH public key under Settings -> SSH and GPG Keys as below. You can name it as ‘eksblueprint-ssh-key’ (Already covered in GitHub Repository and Access)
-
Note down the git ssh path which is usually like ‘git@github.com:your-user/eks-blueprintworkloads-dev.git’
-
Add ssh-key private key in OmniDeq using OmniDeq GUI
- Login to OmniDeq GUI by navigating to the url https://app.cloudhedge.io/ OR "omnideq-appliance-url" and login with the credentials provided
- Navigate to Settings -> Vault
- Click on "Add Vault"
- Select Vault type as SSH Key and enter the vault name as ‘github-ssh-key’
- Enter the path of the ssh-key private (PEM) file and click on 'Save'
Create Staging/Production (stg/prd) Repository
- Create a private blank code repository under GitHub You can name it as ‘eks-blueprint-workloads-stg’ under the same GitHub account. Follow the same steps as in step 1 under Create Development (dev) Repository
- The same ssh-key configured in Sub-Stage 1 will be used
- Note down the git ssh path which is usually ‘git@github.com:your-account/eks-blueprintworkloads-stg.git