-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitops-prod.tfvars
More file actions
52 lines (46 loc) · 2.36 KB
/
Copy pathgitops-prod.tfvars
File metadata and controls
52 lines (46 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#------------------------------------------------------------------------------
# ROSA HCP - Commercial AWS - Prod GitOps Layer Configuration
#
# This file is an OVERLAY applied on top of the cluster tfvars.
# It only contains GitOps-specific settings. All cluster-level variables
# are inherited from cluster-prod.tfvars.
#
# Usage:
# terraform apply -var-file="cluster-prod.tfvars" -var-file="gitops-prod.tfvars"
#------------------------------------------------------------------------------
# htpasswd bootstrap: create_admin_user in cluster-prod.tfvars is required for
# initial bootstrap (creates OAuth token). After bootstrap, Terraform uses the
# SA token (gitops_cluster_token). To harden: set create_admin_user = false
# in cluster-prod.tfvars and re-apply to remove htpasswd IDP.
# See docs/OPERATIONS.md for the full credential lifecycle.
install_gitops = true
enable_layer_terminal = false # Web Terminal operator
enable_layer_oadp = false # Backup/restore (requires S3 bucket)
enable_layer_monitoring = false # Prometheus + Loki logging stack
enable_layer_certmanager = false # Cert-Manager with Let's Encrypt (see examples/certmanager.tfvars)
# enable_layer_virtualization = false # Requires bare metal nodes
# Cert-Manager configuration (when enable_layer_certmanager = true)
# certmanager_create_hosted_zone = true
# certmanager_hosted_zone_domain = "apps.example.com"
# certmanager_acme_email = "platform-team@example.com"
# certmanager_enable_dnssec = true
# certmanager_enable_query_logging = true
# certmanager_enable_routes_integration = true
# certmanager_certificate_domains = [
# {
# name = "apps-wildcard"
# namespace = "openshift-ingress"
# secret_name = "custom-apps-default-cert"
# domains = ["*.apps.example.com"]
# }
# ]
# # Or use an existing hosted zone:
# # certmanager_hosted_zone_id = "Z0123456789ABCDEF"
# # certmanager_create_hosted_zone = false
# Monitoring configuration (when enable_layer_monitoring = true)
monitoring_loki_size = "1x.small" # Prod: 1x.small or larger
monitoring_retention_days = 30 # Prod: 30 days
# Additional GitOps configuration (optional)
# gitops_repo_url = "https://github.com/your-org/my-cluster-config.git"
# For subsequent runs, provide SA token to avoid htpasswd dependency:
# gitops_cluster_token = "<your-token-here>"