所有服务使用docker搭建部署,其中keycloak服务已经有,所以在本文中就没有列出。
version: '3'
services:
elasticsearch:
image: elasticsearch:7.6.2
container_name: elasticsearch
--- | |
created: <% tp.file.creation_date() %> | |
--- | |
tags:: [[+Daily Notes]] | |
# <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %> | |
<< [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >> | |
--- |
{ | |
"acm": { | |
"AddTagsToCertificate": [ | |
"aws acm add-tags-to-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 --tags Key=Admin,Value=Alice Key=Purpose,Value=Website " | |
], | |
"DeleteCertificate": [ | |
"aws acm delete-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 " | |
], | |
"DescribeCertificate": [ |
# Infracost Tool Demonstration | |
# Importing official atlantis docker image | |
FROM runatlantis/atlantis:v0.17.0 | |
RUN apk update && apk upgrade | |
# Python | |
RUN apk add bash py-pip |
####################################################################### | |
# TOPICS | |
####################################################################### | |
# 1. BUILD CLOUD9 FROM CLOUDSHELL | |
# 2. BUILD EKS CLUSTER FROM CLOUD9 | |
# 3. BUILD A CONTAINER IMAGE | |
# 4. PUSH CONTAINER IMAGE TO ECR | |
# 5. DEPLOY FROM ECR TO K8S | |
# 6. CONTAINER ORCHESTRATION - balancing that which is desired against that which exists | |
# 7. K8S CLUSTERIP SERVICES - because pods need to talk to each other |
#!/usr/bin/env bash | |
# Docs: https://cloud.google.com/anthos/gke/docs/aws/how-to/prerequisites | |
# NOTE: MUST have `jq` installed for JSON parsing to set ENV vars | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
# confirm aws CLI working | |
aws --version |
repos: | |
- repo: https://github.com/lowess/pre-commit-hooks | |
rev: v1.2.0 # Get the latest from: https://github.com/lowess/pre-commit-hooks/releases | |
hooks: | |
- id: jinja2-render-template | |
name: Render atlantis.yaml configuration | |
args: | |
- atlantis.j2 | |
- --output | |
- atlantis.yaml |
Updated: 9 april 2020
## -------------------------- ## | |
# Values passed to helm chart | |
## -------------------------- ## | |
# Kubernetes namespace for atlantis (pods , deployment , service etc.) | |
namespace: atlantis | |
# Whitelist Your GitHub infrastructure repository URL. For multiple repositories, comma separate them | |
orgWhitelist: github.com/yourorg/terraform-infrastructure | |
# logLevel: "debug" |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"iam:CreateInstanceProfile", | |
"iam:DeleteInstanceProfile", | |
"iam:GetRole", | |
"iam:GetInstanceProfile", |