Skip to content
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

Move to app namespace #4

Merged
merged 1 commit into from
Dec 29, 2021
Merged

Move to app namespace #4

merged 1 commit into from
Dec 29, 2021

Conversation

piratekev
Copy link

No description provided.

@github-actions
Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan ```

terraform
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://app.terraform.io/app/gem-engineering/kubernetes-ops-stage-70-gem-frontend/runs/run-2Gu1QuqdnfhZ48dU

Waiting for the plan to start...

Terraform v1.0.11
on linux_amd64
Configuring remote state backend...
Initializing Terraform configuration...
module.app.helm_release.helm_chart: Refreshing state... [id=gem-frontend]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

Terraform will perform the following actions:

module.app.helm_release.helm_chart must be replaced

-/+ resource "helm_release" "helm_chart" {
~ id = "gem-frontend" -> (known after apply)
+ manifest = (known after apply)
~ metadata = [
- {
- app_version = "1.0"
- chart = "standard-application"
- name = "gem-frontend"
- namespace = "app-stage"
- revision = 1
- values = jsonencode(
{
- deployment = {
- containers = [
- {
- image = {
- pullPolicy = "Always"
- repository = "283278994941.dkr.ecr.us-east-1.amazonaws.com/frontend"
- tag = "latest"
}
- name = "gem-frontend"
- ports = [
- {
- containerPort = 80
- name = "http"
- protocol = "TCP"
- servicePort = 80
},
]
- resources = {
- requests = {
- memory = "1Gi"
}
}
},
]
}
- fullnameOverride = "gem-frontend"
- ingress = {
- annotations = {
- kubernetes.io/ingress.class = "nginx-external"
}
- enabled = true
- hosts = [
- "www.prod.yourgem.app",
]
- paths = [
- {
- path = "/"
- servicePort = "http"
},
]
- tls = []
}
- namespace = "app-stage"
- replicaCount = 1
}
)
- version = "1.0.11"
},
] -> (known after apply)
name = "gem-frontend"
~ namespace = "app-stage" -> "app" # forces replacement
~ values = [
- <<-EOT
replicaCount: 1

            fullnameOverride: gem-frontend
            namespace: app-stage
            
            # containerSpecOptions:
            #   securityContext:
            #     runAsUser: 1000
            #     runAsGroup: 1000
            
            deployment:
              containers:
              - name: gem-frontend
                image:
                  repository: 283278994941.dkr.ecr.us-east-1.amazonaws.com/frontend
                  tag: latest
                  pullPolicy: Always
            
                ports:
                - name: http
                  protocol: TCP
                  containerPort: 80
                  servicePort: 80
            
                resources:
                  requests:
                    memory: 1Gi
            
            ingress:
              enabled: true
              annotations:
                kubernetes.io/ingress.class: nginx-external
                # kubernetes.io/tls-acme: "true"
              paths:
                - path: /
                  servicePort: http
              hosts:
                - www.prod.yourgem.app
              tls: []
              #  - secretName: chart-example-tls
              #    hosts:
              #      - chart-example.local
        EOT,
      + <<-EOT
            replicaCount: 1
            
            fullnameOverride: gem-frontend
            namespace: app
            
            # containerSpecOptions:
            #   securityContext:
            #     runAsUser: 1000
            #     runAsGroup: 1000
            
            deployment:
              containers:
              - name: gem-frontend
                image:
                  repository: 283278994941.dkr.ecr.us-east-1.amazonaws.com/frontend
                  tag: latest
                  pullPolicy: Always
            
                ports:
                - name: http
                  protocol: TCP
                  containerPort: 80
                  servicePort: 80
            
                resources:
                  requests:
                    memory: 1Gi
            
            ingress:
              enabled: true
              annotations:
                kubernetes.io/ingress.class: nginx-external
                # kubernetes.io/tls-acme: "true"
              paths:
                - path: /
                  servicePort: http
              hosts:
                - www.prod.yourgem.app
              tls: []
              #  - secretName: chart-example-tls
              #    hosts:
              #      - chart-example.local
        EOT,
    ]
    # (24 unchanged attributes hidden)
}

Plan: 1 to add, 0 to change, 1 to destroy.


</details>
*Pusher: @piratekev, Action: `pull_request`*

@github-actions
Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Show Plan ```

terraform
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://app.terraform.io/app/gem-engineering/kubernetes-ops-dev-70-gem-frontend/runs/run-AU5qQ3NWHe3KrM7v

Waiting for the plan to start...

Terraform v1.0.2
on linux_amd64
Configuring remote state backend...
Initializing Terraform configuration...
module.app.helm_release.helm_chart: Refreshing state... [id=gem-frontend]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

Terraform will perform the following actions:

module.app.helm_release.helm_chart must be replaced

-/+ resource "helm_release" "helm_chart" {
~ id = "gem-frontend" -> (known after apply)
+ manifest = (known after apply)
~ metadata = [
- {
- app_version = "1.0"
- chart = "standard-application"
- name = "gem-frontend"
- namespace = "app-dev"
- revision = 6
- values = jsonencode(
{
- deployment = {
- containers = [
- {
- image = {
- pullPolicy = "Always"
- repository = "067550988196.dkr.ecr.us-east-1.amazonaws.com/frontend"
- tag = "v0.0.4"
}
- name = "gem-frontend"
- ports = [
- {
- containerPort = 80
- name = "http"
- protocol = "TCP"
- servicePort = 80
},
]
- resources = {
- requests = {
- memory = "1Gi"
}
}
},
]
}
- fullnameOverride = "gem-frontend"
- ingress = {
- annotations = {
- kubernetes.io/ingress.class = "nginx-external"
}
- enabled = true
- hosts = [
- "www.dev.yourgem.app",
]
- paths = [
- {
- path = "/"
- servicePort = "http"
},
]
- tls = []
}
- namespace = "app-dev"
- replicaCount = 1
}
)
- version = "1.0.11"
},
] -> (known after apply)
name = "gem-frontend"
~ namespace = "app-dev" -> "app" # forces replacement
~ values = [
- <<-EOT
replicaCount: 1

            fullnameOverride: gem-frontend
            namespace: app-dev
            
            # containerSpecOptions:
            #   securityContext:
            #     runAsUser: 1000
            #     runAsGroup: 1000
            
            deployment:
              containers:
              - name: gem-frontend
                image:
                  repository: 067550988196.dkr.ecr.us-east-1.amazonaws.com/frontend
                  tag: v0.0.4
                  pullPolicy: Always
            
                ports:
                - name: http
                  protocol: TCP
                  containerPort: 80
                  servicePort: 80
            
                resources:
                  requests:
                    memory: 1Gi
            
            ingress:
              enabled: true
              annotations:
                kubernetes.io/ingress.class: nginx-external
                # kubernetes.io/tls-acme: "true"
              paths:
                - path: /
                  servicePort: http
              hosts:
                - www.dev.yourgem.app
              tls: []
              #  - secretName: chart-example-tls
              #    hosts:
              #      - chart-example.local
        EOT,
      + <<-EOT
            replicaCount: 1
            
            fullnameOverride: gem-frontend
            namespace: app
            
            # containerSpecOptions:
            #   securityContext:
            #     runAsUser: 1000
            #     runAsGroup: 1000
            
            deployment:
              containers:
              - name: gem-frontend
                image:
                  repository: 067550988196.dkr.ecr.us-east-1.amazonaws.com/frontend
                  tag: v0.0.4
                  pullPolicy: Always
            
                ports:
                - name: http
                  protocol: TCP
                  containerPort: 80
                  servicePort: 80
            
                resources:
                  requests:
                    memory: 1Gi
            
            ingress:
              enabled: true
              annotations:
                kubernetes.io/ingress.class: nginx-external
                # kubernetes.io/tls-acme: "true"
              paths:
                - path: /
                  servicePort: http
              hosts:
                - www.dev.yourgem.app
              tls: []
              #  - secretName: chart-example-tls
              #    hosts:
              #      - chart-example.local
        EOT,
    ]
    # (24 unchanged attributes hidden)
}

Plan: 1 to add, 0 to change, 1 to destroy.


</details>
*Pusher: @piratekev, Action: `pull_request`*

@piratekev piratekev merged commit 30845ed into main Dec 29, 2021
@piratekev piratekev deleted the moveNs branch February 3, 2022 22:51
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.

1 participant