From 826e1b95594e8937040ee0cdd254b39bfe77b1b7 Mon Sep 17 00:00:00 2001 From: Thomas Cardin <49320132+ThomasCardin@users.noreply.github.com> Date: Tue, 16 Jan 2024 09:44:11 -0500 Subject: [PATCH] issue #1: reviewed and added EOF on files --- .gitignore | 2 +- kubernetes/apps/finesse/finesse-backend-deployment.yml | 2 +- kubernetes/apps/finesse/finesse-frontend-deployment.yml | 2 +- kubernetes/apps/finesse/finesse-ingress.yml | 1 - kubernetes/apps/finesse/finesse-namespace.yml | 2 +- kubernetes/system/kube-prometheus-stack/namespace.yml | 2 +- kubernetes/system/vault/namespace.yml | 1 - providers.tf | 2 +- terraform/gcp-kubernetes-cluster/cluster.tf | 2 +- terraform/gcp-kubernetes-cluster/provider.tf | 2 +- terraform/gcp-kubernetes-cluster/vault-csr.conf | 2 +- terraform/gcp-kubernetes-cluster/vault.tf | 2 +- 12 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index d23a2192..16b2df4f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,5 +33,5 @@ override.tf.json .terraformrc terraform.rc -# jq (used to gather information when terraform applying or plannig) +# jq (used to gather information when terraform applying or planning) jq diff --git a/kubernetes/apps/finesse/finesse-backend-deployment.yml b/kubernetes/apps/finesse/finesse-backend-deployment.yml index fbd8ff86..490e3dc0 100644 --- a/kubernetes/apps/finesse/finesse-backend-deployment.yml +++ b/kubernetes/apps/finesse/finesse-backend-deployment.yml @@ -73,4 +73,4 @@ spec: app: finesse-backend ports: - protocol: TCP - port: 8080 \ No newline at end of file + port: 8080 diff --git a/kubernetes/apps/finesse/finesse-frontend-deployment.yml b/kubernetes/apps/finesse/finesse-frontend-deployment.yml index cb900eb5..be4dafe4 100644 --- a/kubernetes/apps/finesse/finesse-frontend-deployment.yml +++ b/kubernetes/apps/finesse/finesse-frontend-deployment.yml @@ -39,4 +39,4 @@ spec: app: finesse-frontend ports: - protocol: TCP - port: 3000 \ No newline at end of file + port: 3000 diff --git a/kubernetes/apps/finesse/finesse-ingress.yml b/kubernetes/apps/finesse/finesse-ingress.yml index 6b126779..f54568aa 100644 --- a/kubernetes/apps/finesse/finesse-ingress.yml +++ b/kubernetes/apps/finesse/finesse-ingress.yml @@ -57,4 +57,3 @@ spec: name: finesse-frontend-svc port: number: 3000 - diff --git a/kubernetes/apps/finesse/finesse-namespace.yml b/kubernetes/apps/finesse/finesse-namespace.yml index af0e5586..7efd4642 100644 --- a/kubernetes/apps/finesse/finesse-namespace.yml +++ b/kubernetes/apps/finesse/finesse-namespace.yml @@ -3,4 +3,4 @@ kind: Namespace metadata: name: finesse labels: - name: finesse \ No newline at end of file + name: finesse diff --git a/kubernetes/system/kube-prometheus-stack/namespace.yml b/kubernetes/system/kube-prometheus-stack/namespace.yml index ecd03873..90d12efd 100644 --- a/kubernetes/system/kube-prometheus-stack/namespace.yml +++ b/kubernetes/system/kube-prometheus-stack/namespace.yml @@ -3,4 +3,4 @@ kind: Namespace metadata: name: monitoring labels: - name: monitoring \ No newline at end of file + name: monitoring diff --git a/kubernetes/system/vault/namespace.yml b/kubernetes/system/vault/namespace.yml index e5d2f58d..beb4bbe8 100644 --- a/kubernetes/system/vault/namespace.yml +++ b/kubernetes/system/vault/namespace.yml @@ -4,4 +4,3 @@ metadata: name: vault labels: name: vault - \ No newline at end of file diff --git a/providers.tf b/providers.tf index 3fc4729f..1561431e 100644 --- a/providers.tf +++ b/providers.tf @@ -32,4 +32,4 @@ provider "google" { provider "kubernetes" { config_path = "~/.kube/config" config_context = var.kube_ctx -} \ No newline at end of file +} diff --git a/terraform/gcp-kubernetes-cluster/cluster.tf b/terraform/gcp-kubernetes-cluster/cluster.tf index c2c39c7c..3db76742 100644 --- a/terraform/gcp-kubernetes-cluster/cluster.tf +++ b/terraform/gcp-kubernetes-cluster/cluster.tf @@ -86,4 +86,4 @@ resource "google_container_node_pool" "nodepool" { "https://www.googleapis.com/auth/cloud-platform" ] } -} \ No newline at end of file +} diff --git a/terraform/gcp-kubernetes-cluster/provider.tf b/terraform/gcp-kubernetes-cluster/provider.tf index ce9153b5..53874b86 100644 --- a/terraform/gcp-kubernetes-cluster/provider.tf +++ b/terraform/gcp-kubernetes-cluster/provider.tf @@ -26,4 +26,4 @@ terraform { provider "google" { project = var.project_id region = var.region -} \ No newline at end of file +} diff --git a/terraform/gcp-kubernetes-cluster/vault-csr.conf b/terraform/gcp-kubernetes-cluster/vault-csr.conf index 0e0f3cef..0e39b79a 100644 --- a/terraform/gcp-kubernetes-cluster/vault-csr.conf +++ b/terraform/gcp-kubernetes-cluster/vault-csr.conf @@ -19,4 +19,4 @@ DNS.2 = *.vault-internal.vault.svc.cluster.local DNS.3 = *.vault DNS.4 = vault.vault.svc.cluster.local DNS.5 = vault.vault.svc -IP.1 = 127.0.0.1 \ No newline at end of file +IP.1 = 127.0.0.1 diff --git a/terraform/gcp-kubernetes-cluster/vault.tf b/terraform/gcp-kubernetes-cluster/vault.tf index 210b5af9..598c5bb0 100644 --- a/terraform/gcp-kubernetes-cluster/vault.tf +++ b/terraform/gcp-kubernetes-cluster/vault.tf @@ -40,7 +40,7 @@ resource "tls_private_key" "vault_key" { # This requires that jq and openssl are installed in the runtime environment # It creates a certificate signing request (CSR) based on the vault-csr.conf file -# The 2 jq at the begining and end of the pipes are used to read the input and wrap the result in json +# The 2 jq at the beginning and end of the pipes are used to read the input and wrap the result in json # since this is how terraform "external" passes data. data "external" "k8s_cert_request" { program = [