Skip to content

Add Optional solution to add Custom domain on the ingress (will won't work on workshop studio) as it missing hosted zone #110

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

Merged
merged 39 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d95a8f1
Add solution for custom domain name
Nov 27, 2024
9205da8
Add solution for custom domain name
Nov 27, 2024
5e7a735
Add solution for custom domain name
Nov 27, 2024
8bc63fe
fix conflict
Feb 3, 2025
055e2bd
add default namespaces and sa values
Feb 3, 2025
aa064da
fix conflict
Feb 3, 2025
78674d3
enable kro and ack
Feb 3, 2025
d32174c
update versions
Feb 5, 2025
ae6854b
update versions 2
Feb 5, 2025
c94de06
enable kyverno-policy-reporter logs debug
Feb 5, 2025
6bf652f
revert kyverno upgrade
Feb 5, 2025
891efc5
add basepath
Feb 5, 2025
0147981
add basepath 2
Feb 5, 2025
279b1b0
yamllint values.yaml
allamand Feb 5, 2025
10d71a4
uniformization of service_accounts
allamand Feb 5, 2025
afe4f8e
use reporevision from annotations
allamand Feb 5, 2025
6ef236c
upgrade ACK versions
allamand Feb 17, 2025
042e55b
add krodev
allamand Feb 17, 2025
2702bd3
update banner
allamand Feb 18, 2025
c48646e
optimizing values
allamand Feb 18, 2025
563d1e1
add workload-cluster2
allamand Feb 19, 2025
491e539
add auto-mode tenant
allamand Feb 20, 2025
76a5895
add LB for Argo in tenant auto1
allamand Feb 21, 2025
3df51f5
Test centralized argo
allamand Feb 21, 2025
03060f6
Test centralized argo 2
allamand Feb 21, 2025
54ca897
Test centralized argo 3
allamand Feb 21, 2025
5f4f74c
Test centralized argo 4
allamand Feb 21, 2025
bd8102c
Test centralized argo 6
allamand Feb 21, 2025
2793c7a
Test centralized argo 7
allamand Feb 21, 2025
0bc4f9a
Test centralized argo 8
allamand Feb 21, 2025
6f86e10
Test centralized argo 9
allamand Feb 21, 2025
c6802ad
sync repo
Apr 22, 2025
1156c3f
enable custom domain
Apr 24, 2025
b1c30f8
cleanup auto1 tenant
Apr 24, 2025
605fe67
cleanup auto1 tenant
Apr 24, 2025
3187f66
fix external dns
Apr 25, 2025
1da2d8d
disable externaldns
Apr 25, 2025
3a3c663
improve custom_domain scripting
allamand Apr 30, 2025
d8b7a67
Merge latest changes from riv24 branch
allamand Apr 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ cdk
.venv
.pytest_cache
.terraform.lock.hcl
terraform/fleet-dashboard/terraform.tfstate
terraform/fleet-dashboard/terraform.tfstate.backup
.vscode
terraform/spokes/custom_domain.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{{- with $addon -}}
{{- $nameNormalize := printf "%s" $name | replace "_" "-" | trunc 63 | trimSuffix "-" -}}
{{- $addonhasapplyNestedSelectors := hasKey $addon "applyNestedSelectors" -}}
{{- $version := $addon.targetRevision -}}
{{- $version := default "v1.0.0" $addon.targetRevision | toString -}}
{{- $versionWithoutV := regexReplaceAll "^v" $version "" -}}
{{- $majorMinor := regexReplaceAll "\\.\\d+$" $versionWithoutV "" }}
apiVersion: argoproj.io/v1alpha1
Expand Down
368 changes: 216 additions & 152 deletions gitops/addons/charts/gitops-bridge/values.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
configs:
cm:
ui.bannerurl: "https://us-west-2.console.aws.amazon.com/eks/home?region=us-west-2#/clusters/fleet-hub-cluster"

Original file line number Diff line number Diff line change
@@ -1,43 +1,51 @@
# values for the addon
addons:
aws_load_balancer_controller:
ack_ec2:
enabled: false
ack_eks:
enabled: false
ack_iam:
enabled: false
ack_s3:
enabled: false
ack_secretsmanager:
enabled: false
adot_collector:
enabled: true
argocd:
enabled: true # ArgoCD is enabled to replace the argocd installed at bootstrap time via terraform helm provider
aws_ebs_csi_resources:
enabled: true
metrics_server:
enabled: true
karpenter:
enabled: true
kyverno:
aws_load_balancer_controller:
enabled: true
external_secrets:
cert_manager:
enabled: true
cni_metrics_helper:
enabled: true
cw_prometheus:
enabled: true
grafana_operator:
enabled: true
argocd:
enabled: true # ArgoCD is enabled to replace the argocd installed at bootstrap time via terraform helm provider
prometheus_node_exporter:
enabled: true
kube_state_metrics:
eks_upgrade_insights_demo:
enabled: true
adot_collector:
external_dns:
enabled: false
external_secrets:
enabled: true
opentelemetry_operator:
grafana_operator:
enabled: true
cert_manager:
karpenter:
enabled: true
eks_upgrade_insights_demo:
kube_state_metrics:
enabled: true
kro:
enabled: false
kyverno:
enabled: true
ack_eks:
kyverno_policies:
enabled: true
ack_s3:
kyverno_policy_reporter:
enabled: true
ack_secretsmanager:
metrics_server:
enabled: true
opentelemetry_operator:
enabled: true

prometheus_node_exporter:
enabled: true
Original file line number Diff line number Diff line change
@@ -1,34 +1,51 @@
# values for the addon
addons:
aws_load_balancer_controller:
ack_ec2:
enabled: false
ack_eks:
enabled: false
ack_iam:
enabled: false
ack_s3:
enabled: false
ack_secretsmanager:
enabled: false
adot_collector:
enabled: true
argocd:
enabled: false # Disabled because is not deployed by the gitops-bridge helm chart and instead is deployed by the fleet-spoke-argocd ApplicationSet from the Hub Cluster https://github.com/aws-samples/fleet-management-on-amazon-eks-workshop/blob/riv24/gitops/fleet/bootstrap/control-plane/members-init/addons-argo-cd-appset.yaml
aws_ebs_csi_resources:
enabled: true
metrics_server:
enabled: true
karpenter:
enabled: true
kyverno:
enabled: true
kyverno_policies:
aws_load_balancer_controller:
enabled: true
kyverno_policy_reporter:
cert_manager:
enabled: true
cni_metrics_helper:
enabled: true
cw_prometheus:
enabled: true
prometheus_node_exporter:
enabled: true
kube_state_metrics:
eks_upgrade_insights_demo:
enabled: true
argocd:
enabled: false # Disabled because is not deployed by the gitops-bridge helm chart and instead is deployed by the fleet-spoke-argocd ApplicationSet from the Hub Cluster https://github.com/aws-samples/fleet-management-on-amazon-eks-workshop/blob/riv24/gitops/fleet/bootstrap/control-plane/members-init/addons-argo-cd-appset.yaml
external_dns:
enabled: false
external_secrets:
enabled: false # Disabled because is not deployed by the gitops-bridge helm chart and instead is deployed by the fleet-spoke-external-secrets ApplicationSet the Hub Cluster https://github.com/aws-samples/fleet-management-on-amazon-eks-workshop/blob/riv24/gitops/fleet/bootstrap/control-plane/members-init/addons-aws-oss-external-secrets-appset.yaml
adot_collector:
grafana_operator:
enabled: true
karpenter:
enabled: true
kube_state_metrics:
enabled: true
kro:
enabled: false
kyverno:
enabled: true
kyverno_policies:
enabled: true
kyverno_policy_reporter:
enabled: true
metrics_server:
enabled: true
opentelemetry_operator:
enabled: true
cert_manager:
prometheus_node_exporter:
enabled: true
10 changes: 10 additions & 0 deletions gitops/addons/clusters/workload-cluster1/addons/argocd/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
configs:
cm:
ui.bannerurl: "https://us-west-2.console.aws.amazon.com/eks/home?region=us-west-2#/clusters/workload-cluster1"

server:
service:
type: LoadBalancer
annotations:
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# values for the addon
addons:
aws_load_balancer_controller:
enabled: true
aws_ebs_csi_resources:
enabled: true
metrics_server:
enabled: true
karpenter:
enabled: true
kyverno:
enabled: true
kyverno_policies:
enabled: true
kyverno_policy_reporter:
enabled: true
cni_metrics_helper:
enabled: true
cw_prometheus:
enabled: true
prometheus_node_exporter:
enabled: true
kube_state_metrics:
enabled: true
argocd:
enabled: false # Disabled because is not deployed by the gitops-bridge helm chart and instead is deployed by the fleet-spoke-argocd ApplicationSet from the Hub Cluster https://github.com/aws-samples/fleet-management-on-amazon-eks-workshop/blob/riv24/gitops/fleet/bootstrap/control-plane/members-init/addons-argo-cd-appset.yaml
external_secrets:
enabled: false # Disabled because is not deployed by the gitops-bridge helm chart and instead is deployed by the fleet-spoke-external-secrets ApplicationSet the Hub Cluster https://github.com/aws-samples/fleet-management-on-amazon-eks-workshop/blob/riv24/gitops/fleet/bootstrap/control-plane/members-init/addons-aws-oss-external-secrets-appset.yaml
adot_collector:
enabled: true
opentelemetry_operator:
enabled: true
cert_manager:
enabled: true
external_dns:
enabled: true
aws_argocd_ingress:
enabled: false
4 changes: 4 additions & 0 deletions gitops/addons/default/addons/external-dns/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
global:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
# values for the addon
addons:
external_secrets:
values:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: '' # override with empty string because we are using pod identity not IRSA
karpenter:
values:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: '' # override with empty string because we are using pod identity not IRSA
aws_load_balancer_controller:
values:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: '' # override with empty string because we are using pod identity not IRSA
useSelector: false # use true if you only have argo cd in hub cluster, false if you also have argocd in spoke
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
selector:
matchLabels:
fleet_member: spoke
install_argocd: "true"
values:
addonChart: argo-cd
addonChartVersion: "7.5.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
selector:
matchLabels:
fleet_member: spoke
install_argocd: "true"
values:
addonChart: external-secrets
addonChartVersion: "0.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- clusters:
selector:
matchLabels:
fleet_member: spoke
fleet_member: spoke # control-plane # SEB TODO: hub-spoke centralized vs distributed
values:
bootstrap: bootstrap/members-manifests
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
selector:
matchLabels:
fleet_member: spoke
install_argocd: "true"
values:
addonChart: fleet-secret
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- clusters:
selector:
matchLabels:
fleet_member: spoke
fleet_member: spoke # control-plane # SEB TODO: hub-spoke centralized vs distributed
values:
addonChart: gitops-bridge
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- clusters:
selector:
matchLabels:
fleet_member: spoke
fleet_member: spoke # control-plane # SEB TODO: hub-spoke centralized vs distributed
values:
addonChart: gitops-bridge
template:
Expand Down
57 changes: 0 additions & 57 deletions gitops/platform/teams/backend/argoproject-prod-values.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions gitops/platform/teams/frontend/argoproject-prod-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ projects:
kind: Table
- group: 'autoscaling'
kind: HorizontalPodAutoscaler
- group: 'networking.k8s.io'
kind: Ingress
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ projects:
kind: Table
- group: 'autoscaling'
kind: HorizontalPodAutoscaler
- group: 'networking.k8s.io'
kind: Ingress
Loading