Skip to content

Commit

Permalink
chore: Update and run pre-commit checks to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Oct 25, 2023
1 parent 52cca4f commit 54154ad
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
args: ['--markdown-linebreak-ext=md']
Expand All @@ -10,7 +10,7 @@ repos:
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.4
rev: v1.83.5
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: demo-application
description: A Helm chart to deploy the demo-application
type: application
version: 1.0.0
version: 1.0.0
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: backend
name: backend
namespace: stars
spec:
replicas: 1
Expand All @@ -11,15 +11,15 @@ spec:
template:
metadata:
labels:
role: backend
role: backend
spec:
containers:
- name: backend
- name: backend
image: calico/star-probe:v0.1.0
imagePullPolicy: Always
command:
- probe
- --http-port=6379
- --urls=http://frontend.stars:80/status,http://backend.stars:6379/status,http://client.client:9000/status
ports:
- containerPort: 6379
- containerPort: 6379
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: backend
name: backend
namespace: stars
spec:
ports:
- port: 6379
targetPort: 6379
targetPort: 6379
selector:
role: backend
role: backend
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: client
name: client
namespace: client
spec:
replicas: 1
Expand All @@ -11,14 +11,14 @@ spec:
template:
metadata:
labels:
role: client
role: client
spec:
containers:
- name: client
- name: client
image: calico/star-probe:v0.1.0
imagePullPolicy: Always
command:
- probe
- --urls=http://frontend.stars:80/status,http://backend.stars:6379/status
ports:
- containerPort: 9000
- containerPort: 9000
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Namespace
metadata:
name: client
labels:
role: client
role: client
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: client
spec:
ports:
- port: 9000
- port: 9000
targetPort: 9000
selector:
role: client
role: client
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
name: frontend
namespace: stars
spec:
replicas: 1
Expand All @@ -11,15 +11,15 @@ spec:
template:
metadata:
labels:
role: frontend
role: frontend
spec:
containers:
- name: frontend
- name: frontend
image: calico/star-probe:v0.1.0
imagePullPolicy: Always
command:
- probe
- --http-port=80
- --urls=http://frontend.stars:80/status,http://backend.stars:6379/status,http://client.client:9000/status
ports:
- containerPort: 80
- containerPort: 80
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: frontend
name: frontend
namespace: stars
spec:
ports:
- port: 80
targetPort: 80
- port: 80
targetPort: 80
selector:
role: frontend
role: frontend
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: management-ui
namespace: management-ui
name: management-ui
namespace: management-ui
spec:
replicas: 1
selector:
Expand All @@ -11,11 +11,11 @@ spec:
template:
metadata:
labels:
role: management-ui
role: management-ui
spec:
containers:
- name: management-ui
- name: management-ui
image: calico/star-collect:v0.1.0
imagePullPolicy: Always
ports:
- containerPort: 9001
- containerPort: 9001
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: management-ui
name: management-ui
labels:
role: management-ui
role: management-ui
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: management-ui
namespace: management-ui
name: management-ui
namespace: management-ui
spec:
type: LoadBalancer
ports:
- port: 80
- port: 80
targetPort: 9001
selector:
role: management-ui
role: management-ui
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: stars
name: stars
2 changes: 1 addition & 1 deletion patterns/privatelink-access/client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "aws_iam_policy" "eks_full_access_policy" {
Statement = [
{
Action = [
"eks:DescribeCluster",
"eks:DescribeCluster",
"eks:ListClusters"
]
Effect = "Allow"
Expand Down

0 comments on commit 54154ad

Please sign in to comment.