Skip to content

Commit

Permalink
chore: Group patterns under sub-directory to reduce length of sidebar…
Browse files Browse the repository at this point in the history
… nav and better co-locate patterns by some categorization (#1997)
  • Loading branch information
bryantbiggs authored Aug 15, 2024
1 parent 5ddc581 commit ca7c0da
Show file tree
Hide file tree
Showing 37 changed files with 138 additions and 122 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
- name: install markdown-link-check
run: npm install -g markdown-link-check@3.10.2
run: npm install -g markdown-link-check@3.12.2
- name: markdown-link-check version
run: npm list -g markdown-link-check
- name: Run markdown-link-check on MD files
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.10.0
rev: v8.13.3
hooks:
- id: cspell
args: [--exclude, 'ADOPTERS.md', --exclude, '.pre-commit-config.yaml', --exclude, '.gitignore', --exclude, '*.drawio', --exclude, 'mkdocs.yml', --exclude, '.helmignore', --exclude, '.github/workflows/*', --exclude, 'patterns/istio-multi-cluster/*', --exclude, 'patterns/blue-green-upgrade/*']
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.14.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2', --offset, '2', --preserve-quotes]
Expand All @@ -19,7 +19,7 @@ repos:
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.92.0
rev: v1.92.1
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
19 changes: 19 additions & 0 deletions docs/patterns/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
nav:
- Agones Game Controller: agones-game-controller.md
- Blue/Green Upgrade: blue-green-upgrade.md
- Bottlerocket: bottlerocket.md
- ECR Pull Through Cache: ecr-pull-through-cache.md
- External Secrets: external-secrets.md
- Fargate Serverless: fargate-serverless.md
- Fully Private Cluster: fully-private-cluster.md
- GitOps: gitops
- Istio: istio.md
- Karpenter on EKS Fargate: karpenter.md
- Karpenter on EKS MNG: karpenter-mng.md
- Kubecost: kubecost.md
- Machine Learning: machine-learning
- Multi-tenancy: multi-tenancy-with-teams.md
- Network: network
- SSO - IAM Identity Center: sso-iam-identity-center.md
- SSO - Okta: sso-okta.md
- Stateful: stateful.md
7 changes: 0 additions & 7 deletions docs/patterns/aws-vpc-cni-network-policy.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/patterns/bottlerocket.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Bottlerocket
title: Bottlerocket
---

{%
Expand Down
7 changes: 0 additions & 7 deletions docs/patterns/gitops-getting-started-argocd.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/gitops-multi-cluster-hub-spoke-argocd.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/patterns/gitops/gitops-getting-started-argocd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: ArgoCD - Getting Started
---

{%
include-markdown "../../../patterns/gitops/getting-started-argocd/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/gitops/gitops-multi-cluster-hub-spoke-argocd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: ArgoCD - Multi-Cluster Hub & Spoke
---

{%
include-markdown "../../../patterns/gitops/multi-cluster-hub-spoke-argocd/README.md"
%}
7 changes: 0 additions & 7 deletions docs/patterns/ipv6-eks-cluster.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/patterns/machine-learning/ml-capacity-block.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: ML Capacity Block Reservation (CBR)
---

{%
include-markdown "../../../patterns/ml-capacity-block/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/machine-learning/nvidia-gpu-efa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: NVIDIA GPUs with EFA
---

{%
include-markdown "../../../patterns/nvidia-gpu-efa/README.md"
%}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title: Targeted On-Demand Capacity Reservation (ODCR)
---

{%
include-markdown "../../patterns/targeted-odcr/README.md"
include-markdown "../../../patterns/targeted-odcr/README.md"
%}
7 changes: 0 additions & 7 deletions docs/patterns/ml-capacity-block.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/patterns/network/aws-vpc-cni-network-policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: AWS VPC CNI Network Policy
---

{%
include-markdown "../../../patterns/aws-vpc-cni-network-policy/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/ipv6-eks-cluster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: IPv6 Networking
---

{%
include-markdown "../../../patterns/ipv6-eks-cluster/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/private-public-ingress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Private and Public Ingress
---

{%
include-markdown "../../../patterns/private-public-ingress/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/privatelink-access.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: PrivateLink Access
---

{%
include-markdown "../../../patterns/privatelink-access/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/tls-with-aws-pca-issuer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: TLS w/ AWS PCA Issuer
---

{%
include-markdown "../../../patterns/tls-with-aws-pca-issuer/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/vpc-lattice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: VPC lattice
---

{%
include-markdown "../../../patterns/vpc-lattice/README.md"
%}
7 changes: 7 additions & 0 deletions docs/patterns/network/wireguard-with-cilium.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Wireguard /w Cilium
---

{%
include-markdown "../../../patterns/wireguard-with-cilium/README.md"
%}
7 changes: 0 additions & 7 deletions docs/patterns/nvidia-gpu-efa.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/private-public-ingress.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/privatelink-access.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/tls-with-aws-pca-issuer.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/vpc-lattice.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/patterns/wireguard-with-cilium.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ spec:
encrypted: true
kmsKeyID: {{ .Values.ec2nodeclass.blockDeviceMappings.ebs.kmsKeyID }}
deleteOnTermination: true
volumeSize: 20Gi
volumeSize: 20Gi
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ spec:
- key: kubernetes.io/os
operator: In
values:
- linux
- linux
4 changes: 2 additions & 2 deletions patterns/bottlerocket/karpenter-resources/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ ec2nodeclass:
role: ""
securityGroupSelectorTerms:
tags:
karpenter.sh/discovery: ""
karpenter.sh/discovery: ""
subnetSelectorTerms:
tags:
karpenter.sh/discovery: ""
karpenter.sh/discovery: ""
blockDeviceMappings:
ebs:
kmsKeyID: ""
Expand Down
2 changes: 1 addition & 1 deletion patterns/ecr-pull-through-cache/addons.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
ecr_url = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${local.region}.amazonaws.com"
ecr_url = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${local.region}.amazonaws.com"
}

module "eks_blueprints_addons" {
Expand Down
Loading

0 comments on commit ca7c0da

Please sign in to comment.