Skip to content

Commit fa245a0

Browse files
committed
renamed some modules
1 parent 64093ed commit fa245a0

File tree

18 files changed

+103
-502
lines changed

18 files changed

+103
-502
lines changed

.github/workflows/terraform.yaml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: quix-aks module CI/CD
2+
3+
on:
4+
push:
5+
branches: [main, dev]
6+
paths:
7+
- "modules/quix-eks/**"
8+
- "modules/quix-eks-dependencies/**"
9+
- ".github/workflows/terraform-module.yml"
10+
workflow_dispatch:
11+
inputs:
12+
bump:
13+
description: "Version bump (patch, minor, major)"
14+
required: true
15+
default: "minor"
16+
type: choice
17+
options: [patch, minor, major]
18+
19+
permissions:
20+
contents: write
21+
22+
jobs:
23+
validate:
24+
name: Validate Terraform
25+
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
working-directory: ${{ matrix.module }}
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
module: ["modules/quix-aks", "modules/tiered-storage"]
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
38+
39+
- name: Setup Terraform
40+
uses: hashicorp/setup-terraform@v3
41+
with:
42+
terraform_version: 1.6.6
43+
44+
- name: Terraform fmt
45+
run: terraform fmt -check -recursive
46+
47+
- name: Terraform init (no backend)
48+
run: terraform init -backend=false
49+
50+
- name: Terraform validate
51+
run: terraform validate
52+
53+
- name: Generate terraform-docs (inject & commit)
54+
uses: terraform-docs/[email protected]
55+
with:
56+
working-dir: ${{ matrix.module }}
57+
output-file: README.md
58+
output-method: inject
59+
config-file: ""
60+
git-push: true
61+
62+
release:
63+
name: Tag release
64+
runs-on: ubuntu-latest
65+
needs: validate
66+
# Only release on manual dispatch
67+
if: ${{ github.event_name == 'workflow_dispatch' }}
68+
steps:
69+
- name: Checkout
70+
uses: actions/checkout@v4
71+
with:
72+
fetch-depth: 0
73+
74+
- name: Create tag (SemVer bump)
75+
id: tag
76+
uses: anothrNick/[email protected]
77+
env:
78+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79+
DEFAULT_BUMP: ${{ github.event.inputs.bump }}
80+
TAG_PREFIX: "v"
81+
82+
- name: Create GitHub Release
83+
uses: softprops/action-gh-release@v2
84+
if: steps.tag.outputs.new_tag != ''
85+
with:
86+
tag_name: ${{ steps.tag.outputs.new_tag }}
87+
name: ${{ steps.tag.outputs.new_tag }}
88+
generate_release_notes: true
89+
env:
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

BYO_VPC_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ This migration requires **recreating the cluster**. Zero-downtime migration is n
251251

252252
## Complete Example
253253

254-
See the complete example at [`examples/byo-vpc/`](examples/byo-vpc/)
254+
See the complete example at [`examples/public-cluster-byo-vpc/`](examples/public-cluster-byo-vpc/)
255255

256256
## Internal Architecture
257257

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Creates and manages Amazon EKS (Elastic Kubernetes Service) clusters with compre
2828

2929
[View module documentation](modules/quix-eks/)
3030

31-
#### kubernetes-dependencies
31+
#### quix-eks-dependencies
3232
Deploys essential Kubernetes controllers, operators, and add-ons required for production workloads.
3333

3434
**Key capabilities:**
@@ -38,7 +38,7 @@ Deploys essential Kubernetes controllers, operators, and add-ons required for pr
3838
- Pre-configured storage classes for common use cases
3939
- Helm chart management
4040

41-
[View module documentation](modules/kubernetes-dependencies/)
41+
[View module documentation](modules/quix-eks-dependencies/)
4242

4343
## Getting Started
4444

@@ -86,8 +86,8 @@ module "eks" {
8686
}
8787
}
8888
89-
module "kubernetes_dependencies" {
90-
source = "./modules/kubernetes-dependencies"
89+
module "quix_eks_dependencies" {
90+
source = "./modules/quix-eks-dependencies"
9191
9292
cluster_name = module.eks.cluster_name
9393
region = "us-east-1"
@@ -230,7 +230,7 @@ Complete working examples are available in the `examples/` directory:
230230

231231
- **public-cluster** - Standard EKS cluster with public API endpoint
232232
- **private-with-bastion** - Private cluster with bastion host for secure management
233-
- **byo-vpc** - Integration with existing VPC infrastructure
233+
- **public-cluster-byo-vpc** - Integration with existing VPC infrastructure
234234

235235
Each example includes detailed documentation and can be deployed directly for testing or used as templates for production deployments.
236236

examples/byo-vpc/README.md

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)