The k8s/*.yaml glob in each skaffold.yaml picks up servicemonitor.yaml and fails when monitoring is disabled (CRD not installed). Moving them to k8s/monitoring/ keeps the config but excludes them from the default deploy. Apply manually when enable_monitoring=true. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2417 lines
84 KiB
JSON
2417 lines
84 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.15.5",
|
|
"serial": 88,
|
|
"lineage": "d4983386-3ff1-b7f3-75c9-021f911f1ac0",
|
|
"outputs": {},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "helm_release",
|
|
"name": "gitea",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/helm\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"atomic": true,
|
|
"chart": "gitea",
|
|
"cleanup_on_fail": false,
|
|
"create_namespace": false,
|
|
"dependency_update": false,
|
|
"description": null,
|
|
"devel": null,
|
|
"disable_crd_hooks": false,
|
|
"disable_openapi_validation": false,
|
|
"disable_webhooks": false,
|
|
"force_update": false,
|
|
"id": "gitea",
|
|
"keyring": null,
|
|
"lint": false,
|
|
"manifest": null,
|
|
"max_history": 0,
|
|
"metadata": [
|
|
{
|
|
"app_version": "1.23.8",
|
|
"chart": "gitea",
|
|
"first_deployed": 1782506921,
|
|
"last_deployed": 1782508020,
|
|
"name": "gitea",
|
|
"namespace": "gitea",
|
|
"notes": "1. Get the application URL by running these commands:\n https://git.gugagr.xyz/\n2. Review these warnings:\n - Gitea uses 'memory' for caching which is not recommended for production use. See https://docs.gitea.com/next/administration/config-cheat-sheet#cache-cache for available options.\n - Gitea uses 'leveldb' for queue actions which is not recommended for production use. See https://docs.gitea.com/next/administration/config-cheat-sheet#queue-queue-and-queue for available options.\n - Gitea uses 'memory' for sessions which is not recommended for production use. See https://docs.gitea.com/next/administration/config-cheat-sheet#session-session for available options.\n",
|
|
"revision": 2,
|
|
"values": "{\"gitea\":{\"admin\":{\"existingSecret\":\"gitea-admin\"},\"config\":{\"APP_NAME\":\"Homelab Git\",\"cache\":{\"ADAPTER\":\"memory\"},\"database\":{\"DB_TYPE\":\"sqlite3\"},\"log\":{\"LEVEL\":\"Warn\"},\"packages\":{\"ENABLED\":\"true\"},\"queue\":{\"TYPE\":\"level\"},\"server\":{\"DOMAIN\":\"git.gugagr.xyz\",\"ROOT_URL\":\"https://git.gugagr.xyz\",\"SSH_DOMAIN\":\"localhost\",\"SSH_PORT\":30001},\"service\":{\"DISABLE_REGISTRATION\":\"true\"},\"session\":{\"PROVIDER\":\"memory\"}}},\"ingress\":{\"annotations\":{\"traefik.ingress.kubernetes.io/router.tls\":\"true\",\"traefik.ingress.kubernetes.io/router.tls.certresolver\":\"letsencrypt\"},\"className\":\"traefik\",\"enabled\":true,\"hosts\":[{\"host\":\"git.gugagr.xyz\",\"paths\":[{\"path\":\"/\",\"pathType\":\"Prefix\"}]}],\"tls\":[{\"hosts\":[\"git.gugagr.xyz\"]}]},\"persistence\":{\"enabled\":true,\"size\":\"10Gi\",\"storageClass\":\"local-path\"},\"postgresql-ha\":{\"enabled\":false},\"resources\":{\"limits\":{\"cpu\":\"500m\",\"memory\":\"512Mi\"},\"requests\":{\"cpu\":\"100m\",\"memory\":\"256Mi\"}},\"service\":{\"http\":{\"nodePort\":30002,\"port\":3000,\"type\":\"NodePort\"},\"ssh\":{\"nodePort\":30001,\"port\":22,\"type\":\"NodePort\"}},\"valkey-cluster\":{\"enabled\":false}}",
|
|
"version": "12.0.0"
|
|
}
|
|
],
|
|
"name": "gitea",
|
|
"namespace": "gitea",
|
|
"pass_credentials": false,
|
|
"postrender": [],
|
|
"recreate_pods": false,
|
|
"render_subchart_notes": true,
|
|
"replace": false,
|
|
"repository": "https://dl.gitea.com/charts/",
|
|
"repository_ca_file": null,
|
|
"repository_cert_file": null,
|
|
"repository_key_file": null,
|
|
"repository_password": null,
|
|
"repository_username": null,
|
|
"reset_values": false,
|
|
"reuse_values": false,
|
|
"set": [],
|
|
"set_list": [],
|
|
"set_sensitive": [],
|
|
"skip_crds": false,
|
|
"status": "deployed",
|
|
"timeout": 300,
|
|
"upgrade_install": null,
|
|
"values": [
|
|
"\"gitea\":\n \"admin\":\n \"existingSecret\": \"gitea-admin\"\n \"config\":\n \"APP_NAME\": \"Homelab Git\"\n \"cache\":\n \"ADAPTER\": \"memory\"\n \"database\":\n \"DB_TYPE\": \"sqlite3\"\n \"log\":\n \"LEVEL\": \"Warn\"\n \"packages\":\n \"ENABLED\": \"true\"\n \"queue\":\n \"TYPE\": \"level\"\n \"server\":\n \"DOMAIN\": \"git.gugagr.xyz\"\n \"ROOT_URL\": \"https://git.gugagr.xyz\"\n \"SSH_DOMAIN\": \"localhost\"\n \"SSH_PORT\": 30001\n \"service\":\n \"DISABLE_REGISTRATION\": \"true\"\n \"session\":\n \"PROVIDER\": \"memory\"\n\"ingress\":\n \"annotations\":\n \"traefik.ingress.kubernetes.io/router.tls\": \"true\"\n \"traefik.ingress.kubernetes.io/router.tls.certresolver\": \"letsencrypt\"\n \"className\": \"traefik\"\n \"enabled\": true\n \"hosts\":\n - \"host\": \"git.gugagr.xyz\"\n \"paths\":\n - \"path\": \"/\"\n \"pathType\": \"Prefix\"\n \"tls\":\n - \"hosts\":\n - \"git.gugagr.xyz\"\n\"persistence\":\n \"enabled\": true\n \"size\": \"10Gi\"\n \"storageClass\": \"local-path\"\n\"postgresql-ha\":\n \"enabled\": false\n\"resources\":\n \"limits\":\n \"cpu\": \"500m\"\n \"memory\": \"512Mi\"\n \"requests\":\n \"cpu\": \"100m\"\n \"memory\": \"256Mi\"\n\"service\":\n \"http\":\n \"nodePort\": 30002\n \"port\": 3000\n \"type\": \"NodePort\"\n \"ssh\":\n \"nodePort\": 30001\n \"port\": 22\n \"type\": \"NodePort\"\n\"valkey-cluster\":\n \"enabled\": false\n"
|
|
],
|
|
"verify": false,
|
|
"version": "12.0.0",
|
|
"wait": true,
|
|
"wait_for_jobs": false
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "repository_password"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"kubernetes_secret.gitea_admin",
|
|
"random_password.gitea_admin"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "helm_release",
|
|
"name": "traefik",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/helm\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"atomic": true,
|
|
"chart": "traefik",
|
|
"cleanup_on_fail": false,
|
|
"create_namespace": false,
|
|
"dependency_update": false,
|
|
"description": null,
|
|
"devel": null,
|
|
"disable_crd_hooks": false,
|
|
"disable_openapi_validation": false,
|
|
"disable_webhooks": false,
|
|
"force_update": false,
|
|
"id": "traefik",
|
|
"keyring": null,
|
|
"lint": false,
|
|
"manifest": null,
|
|
"max_history": 0,
|
|
"metadata": [
|
|
{
|
|
"app_version": "v3.2.0",
|
|
"chart": "traefik",
|
|
"first_deployed": 1782506576,
|
|
"last_deployed": 1782506576,
|
|
"name": "traefik",
|
|
"namespace": "kube-system",
|
|
"notes": "\n\ntraefik with docker.io/traefik:v3.2.0 has been deployed successfully on kube-system namespace !\n\n🚨 When enabling persistence for certificates, permissions on acme.json can be\nlost when Traefik restarts. You can ensure correct permissions with an\ninitContainer. See https://github.com/traefik/traefik-helm-chart/blob/master/EXAMPLES.md#use-traefik-native-lets-encrypt-integration-without-cert-manager\nfor more info. 🚨\n",
|
|
"revision": 1,
|
|
"values": "{\"additionalArguments\":[\"--certificatesresolvers.letsencrypt.acme.email=goncalo.gr@proton.me\",\"--certificatesresolvers.letsencrypt.acme.storage=/data/acme.json\",\"--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web\"],\"ingressRoute\":{\"dashboard\":{\"enabled\":false}},\"persistence\":{\"enabled\":true,\"size\":\"128Mi\",\"storageClass\":\"local-path\"},\"ports\":{\"web\":{\"redirectTo\":{\"port\":\"websecure\"}}},\"resources\":{\"limits\":{\"cpu\":\"200m\",\"memory\":\"128Mi\"},\"requests\":{\"cpu\":\"50m\",\"memory\":\"64Mi\"}},\"service\":{\"type\":\"LoadBalancer\"}}",
|
|
"version": "33.0.0"
|
|
}
|
|
],
|
|
"name": "traefik",
|
|
"namespace": "kube-system",
|
|
"pass_credentials": false,
|
|
"postrender": [],
|
|
"recreate_pods": false,
|
|
"render_subchart_notes": true,
|
|
"replace": false,
|
|
"repository": "https://traefik.github.io/charts",
|
|
"repository_ca_file": null,
|
|
"repository_cert_file": null,
|
|
"repository_key_file": null,
|
|
"repository_password": null,
|
|
"repository_username": null,
|
|
"reset_values": false,
|
|
"reuse_values": false,
|
|
"set": [],
|
|
"set_list": [],
|
|
"set_sensitive": [],
|
|
"skip_crds": false,
|
|
"status": "deployed",
|
|
"timeout": 300,
|
|
"upgrade_install": null,
|
|
"values": [
|
|
"\"additionalArguments\":\n- \"--certificatesresolvers.letsencrypt.acme.email=goncalo.gr@proton.me\"\n- \"--certificatesresolvers.letsencrypt.acme.storage=/data/acme.json\"\n- \"--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web\"\n\"ingressRoute\":\n \"dashboard\":\n \"enabled\": false\n\"persistence\":\n \"enabled\": true\n \"size\": \"128Mi\"\n \"storageClass\": \"local-path\"\n\"ports\":\n \"web\":\n \"redirectTo\":\n \"port\": \"websecure\"\n\"resources\":\n \"limits\":\n \"cpu\": \"200m\"\n \"memory\": \"128Mi\"\n \"requests\":\n \"cpu\": \"50m\"\n \"memory\": \"64Mi\"\n\"service\":\n \"type\": \"LoadBalancer\"\n"
|
|
],
|
|
"verify": false,
|
|
"version": "33.0.0",
|
|
"wait": true,
|
|
"wait_for_jobs": false
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "repository_password"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_cluster_role",
|
|
"name": "act_runner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"aggregation_rule": [],
|
|
"id": "act-runner",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "act-runner",
|
|
"resource_version": "7193",
|
|
"uid": "ecaa8890-b817-4619-b04a-6150166c4918"
|
|
}
|
|
],
|
|
"rule": [
|
|
{
|
|
"api_groups": [
|
|
"apps"
|
|
],
|
|
"non_resource_urls": [],
|
|
"resource_names": [],
|
|
"resources": [
|
|
"deployments"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"list",
|
|
"patch",
|
|
"update"
|
|
]
|
|
},
|
|
{
|
|
"api_groups": [
|
|
""
|
|
],
|
|
"non_resource_urls": [],
|
|
"resource_names": [],
|
|
"resources": [
|
|
"pods",
|
|
"pods/log"
|
|
],
|
|
"verbs": [
|
|
"get",
|
|
"list"
|
|
]
|
|
},
|
|
{
|
|
"api_groups": [
|
|
"batch"
|
|
],
|
|
"non_resource_urls": [],
|
|
"resource_names": [],
|
|
"resources": [
|
|
"jobs"
|
|
],
|
|
"verbs": [
|
|
"create",
|
|
"get",
|
|
"list",
|
|
"watch",
|
|
"delete"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "bnVsbA=="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_cluster_role_binding",
|
|
"name": "act_runner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "act-runner",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "act-runner",
|
|
"resource_version": "7206",
|
|
"uid": "70653fb3-0506-40b6-8a8f-1b2831ce8fff"
|
|
}
|
|
],
|
|
"role_ref": [
|
|
{
|
|
"api_group": "rbac.authorization.k8s.io",
|
|
"kind": "ClusterRole",
|
|
"name": "act-runner"
|
|
}
|
|
],
|
|
"subject": [
|
|
{
|
|
"api_group": "",
|
|
"kind": "ServiceAccount",
|
|
"name": "act-runner",
|
|
"namespace": "gitea"
|
|
}
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"kubernetes_cluster_role.act_runner",
|
|
"kubernetes_namespace.domains",
|
|
"kubernetes_service_account.act_runner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_config_map",
|
|
"name": "act_runner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": {},
|
|
"data": {
|
|
"config.yaml": "\"cache\":\n \"enabled\": false\n\"container\":\n \"docker_host\": \"tcp://localhost:2375\"\n \"network\": \"host\"\n \"valid_volumes\":\n - \"/var/run/secrets/kubernetes.io/serviceaccount\"\n\"log\":\n \"level\": \"info\"\n\"runner\":\n \"capacity\": 2\n \"envs\": {}\n \"fetch_interval\": \"2s\"\n \"fetch_timeout\": \"5s\"\n \"report_interval\": \"1s\"\n"
|
|
},
|
|
"id": "gitea/act-runner-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "act-runner-config",
|
|
"namespace": "gitea",
|
|
"resource_version": "7203",
|
|
"uid": "3f7d5f82-c5be-403d-887c-ff0abfb8092a"
|
|
}
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_deployment",
|
|
"name": "act_runner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"id": "gitea/act-runner",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 3,
|
|
"labels": {
|
|
"app": "act-runner"
|
|
},
|
|
"name": "act-runner",
|
|
"namespace": "gitea",
|
|
"resource_version": "8389",
|
|
"uid": "032dfc60-d7a6-4982-ab59-e241a0e5a498"
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"min_ready_seconds": 0,
|
|
"paused": false,
|
|
"progress_deadline_seconds": 600,
|
|
"replicas": "1",
|
|
"revision_history_limit": 10,
|
|
"selector": [
|
|
{
|
|
"match_expressions": [],
|
|
"match_labels": {
|
|
"app": "act-runner"
|
|
}
|
|
}
|
|
],
|
|
"strategy": [
|
|
{
|
|
"rolling_update": [
|
|
{
|
|
"max_surge": "25%",
|
|
"max_unavailable": "25%"
|
|
}
|
|
],
|
|
"type": "RollingUpdate"
|
|
}
|
|
],
|
|
"template": [
|
|
{
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {
|
|
"app": "act-runner"
|
|
},
|
|
"name": "",
|
|
"namespace": "",
|
|
"resource_version": "",
|
|
"uid": ""
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"active_deadline_seconds": 0,
|
|
"affinity": [],
|
|
"automount_service_account_token": true,
|
|
"container": [
|
|
{
|
|
"args": [
|
|
"set -e\nif [ ! -f /data/.runner ]; then\n act_runner register \\\n --no-interactive \\\n --instance http://gitea-http.gitea.svc.cluster.local:3000 \\\n --token \"$(cat /etc/runner-token/token)\" \\\n --name \"k3d-runner-$(hostname)\" \\\n --labels ubuntu-latest\nfi\nexec act_runner daemon --config /etc/act-runner/config.yaml\n"
|
|
],
|
|
"command": [
|
|
"/bin/sh",
|
|
"-c"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "DOCKER_HOST",
|
|
"value": "tcp://localhost:2375",
|
|
"value_from": []
|
|
},
|
|
{
|
|
"name": "KUBERNETES_SERVICE_HOST",
|
|
"value": "",
|
|
"value_from": [
|
|
{
|
|
"config_map_key_ref": [],
|
|
"field_ref": [
|
|
{
|
|
"api_version": "v1",
|
|
"field_path": "status.hostIP"
|
|
}
|
|
],
|
|
"resource_field_ref": [],
|
|
"secret_key_ref": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"env_from": [],
|
|
"image": "gitea/act_runner:latest",
|
|
"image_pull_policy": "Always",
|
|
"lifecycle": [],
|
|
"liveness_probe": [],
|
|
"name": "runner",
|
|
"port": [],
|
|
"readiness_probe": [],
|
|
"resources": [
|
|
{
|
|
"limits": {
|
|
"cpu": "500m",
|
|
"memory": "512Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "100m",
|
|
"memory": "128Mi"
|
|
}
|
|
}
|
|
],
|
|
"security_context": [],
|
|
"startup_probe": [],
|
|
"stdin": false,
|
|
"stdin_once": false,
|
|
"termination_message_path": "/dev/termination-log",
|
|
"termination_message_policy": "File",
|
|
"tty": false,
|
|
"volume_mount": [
|
|
{
|
|
"mount_path": "/data",
|
|
"mount_propagation": "None",
|
|
"name": "runner-data",
|
|
"read_only": false,
|
|
"sub_path": ""
|
|
},
|
|
{
|
|
"mount_path": "/etc/act-runner",
|
|
"mount_propagation": "None",
|
|
"name": "runner-config",
|
|
"read_only": false,
|
|
"sub_path": ""
|
|
},
|
|
{
|
|
"mount_path": "/etc/runner-token",
|
|
"mount_propagation": "None",
|
|
"name": "runner-token",
|
|
"read_only": true,
|
|
"sub_path": ""
|
|
}
|
|
],
|
|
"working_dir": ""
|
|
},
|
|
{
|
|
"args": [
|
|
"--insecure-registry=gitea-http.gitea.svc.cluster.local:3000"
|
|
],
|
|
"command": [],
|
|
"env": [
|
|
{
|
|
"name": "DOCKER_TLS_CERTDIR",
|
|
"value": "",
|
|
"value_from": []
|
|
}
|
|
],
|
|
"env_from": [],
|
|
"image": "docker:27-dind",
|
|
"image_pull_policy": "IfNotPresent",
|
|
"lifecycle": [],
|
|
"liveness_probe": [],
|
|
"name": "dind",
|
|
"port": [],
|
|
"readiness_probe": [],
|
|
"resources": [
|
|
{
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "1Gi"
|
|
},
|
|
"requests": {
|
|
"cpu": "200m",
|
|
"memory": "256Mi"
|
|
}
|
|
}
|
|
],
|
|
"security_context": [
|
|
{
|
|
"allow_privilege_escalation": true,
|
|
"capabilities": [],
|
|
"privileged": true,
|
|
"read_only_root_filesystem": false,
|
|
"run_as_group": "",
|
|
"run_as_non_root": false,
|
|
"run_as_user": "",
|
|
"se_linux_options": [],
|
|
"seccomp_profile": []
|
|
}
|
|
],
|
|
"startup_probe": [],
|
|
"stdin": false,
|
|
"stdin_once": false,
|
|
"termination_message_path": "/dev/termination-log",
|
|
"termination_message_policy": "File",
|
|
"tty": false,
|
|
"volume_mount": [
|
|
{
|
|
"mount_path": "/var/lib/docker",
|
|
"mount_propagation": "None",
|
|
"name": "docker-storage",
|
|
"read_only": false,
|
|
"sub_path": ""
|
|
}
|
|
],
|
|
"working_dir": ""
|
|
}
|
|
],
|
|
"dns_config": [],
|
|
"dns_policy": "ClusterFirst",
|
|
"enable_service_links": true,
|
|
"host_aliases": [],
|
|
"host_ipc": false,
|
|
"host_network": false,
|
|
"host_pid": false,
|
|
"hostname": "",
|
|
"image_pull_secrets": [],
|
|
"init_container": [],
|
|
"node_name": "",
|
|
"node_selector": {},
|
|
"os": [],
|
|
"priority_class_name": "",
|
|
"readiness_gate": [],
|
|
"restart_policy": "Always",
|
|
"runtime_class_name": "",
|
|
"scheduler_name": "default-scheduler",
|
|
"security_context": [],
|
|
"service_account_name": "act-runner",
|
|
"share_process_namespace": false,
|
|
"subdomain": "",
|
|
"termination_grace_period_seconds": 30,
|
|
"toleration": [],
|
|
"topology_spread_constraint": [],
|
|
"volume": [
|
|
{
|
|
"aws_elastic_block_store": [],
|
|
"azure_disk": [],
|
|
"azure_file": [],
|
|
"ceph_fs": [],
|
|
"cinder": [],
|
|
"config_map": [],
|
|
"csi": [],
|
|
"downward_api": [],
|
|
"empty_dir": [
|
|
{
|
|
"medium": "",
|
|
"size_limit": ""
|
|
}
|
|
],
|
|
"ephemeral": [],
|
|
"fc": [],
|
|
"flex_volume": [],
|
|
"flocker": [],
|
|
"gce_persistent_disk": [],
|
|
"git_repo": [],
|
|
"glusterfs": [],
|
|
"host_path": [],
|
|
"iscsi": [],
|
|
"local": [],
|
|
"name": "runner-data",
|
|
"nfs": [],
|
|
"persistent_volume_claim": [],
|
|
"photon_persistent_disk": [],
|
|
"projected": [],
|
|
"quobyte": [],
|
|
"rbd": [],
|
|
"secret": [],
|
|
"vsphere_volume": []
|
|
},
|
|
{
|
|
"aws_elastic_block_store": [],
|
|
"azure_disk": [],
|
|
"azure_file": [],
|
|
"ceph_fs": [],
|
|
"cinder": [],
|
|
"config_map": [],
|
|
"csi": [],
|
|
"downward_api": [],
|
|
"empty_dir": [
|
|
{
|
|
"medium": "",
|
|
"size_limit": ""
|
|
}
|
|
],
|
|
"ephemeral": [],
|
|
"fc": [],
|
|
"flex_volume": [],
|
|
"flocker": [],
|
|
"gce_persistent_disk": [],
|
|
"git_repo": [],
|
|
"glusterfs": [],
|
|
"host_path": [],
|
|
"iscsi": [],
|
|
"local": [],
|
|
"name": "docker-storage",
|
|
"nfs": [],
|
|
"persistent_volume_claim": [],
|
|
"photon_persistent_disk": [],
|
|
"projected": [],
|
|
"quobyte": [],
|
|
"rbd": [],
|
|
"secret": [],
|
|
"vsphere_volume": []
|
|
},
|
|
{
|
|
"aws_elastic_block_store": [],
|
|
"azure_disk": [],
|
|
"azure_file": [],
|
|
"ceph_fs": [],
|
|
"cinder": [],
|
|
"config_map": [
|
|
{
|
|
"default_mode": "0644",
|
|
"items": [],
|
|
"name": "act-runner-config",
|
|
"optional": false
|
|
}
|
|
],
|
|
"csi": [],
|
|
"downward_api": [],
|
|
"empty_dir": [],
|
|
"ephemeral": [],
|
|
"fc": [],
|
|
"flex_volume": [],
|
|
"flocker": [],
|
|
"gce_persistent_disk": [],
|
|
"git_repo": [],
|
|
"glusterfs": [],
|
|
"host_path": [],
|
|
"iscsi": [],
|
|
"local": [],
|
|
"name": "runner-config",
|
|
"nfs": [],
|
|
"persistent_volume_claim": [],
|
|
"photon_persistent_disk": [],
|
|
"projected": [],
|
|
"quobyte": [],
|
|
"rbd": [],
|
|
"secret": [],
|
|
"vsphere_volume": []
|
|
},
|
|
{
|
|
"aws_elastic_block_store": [],
|
|
"azure_disk": [],
|
|
"azure_file": [],
|
|
"ceph_fs": [],
|
|
"cinder": [],
|
|
"config_map": [],
|
|
"csi": [],
|
|
"downward_api": [],
|
|
"empty_dir": [],
|
|
"ephemeral": [],
|
|
"fc": [],
|
|
"flex_volume": [],
|
|
"flocker": [],
|
|
"gce_persistent_disk": [],
|
|
"git_repo": [],
|
|
"glusterfs": [],
|
|
"host_path": [],
|
|
"iscsi": [],
|
|
"local": [],
|
|
"name": "runner-token",
|
|
"nfs": [],
|
|
"persistent_volume_claim": [],
|
|
"photon_persistent_disk": [],
|
|
"projected": [],
|
|
"quobyte": [],
|
|
"rbd": [],
|
|
"secret": [
|
|
{
|
|
"default_mode": "0644",
|
|
"items": [],
|
|
"optional": false,
|
|
"secret_name": "gitea-runner-token"
|
|
}
|
|
],
|
|
"vsphere_volume": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_rollout": true
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
|
"dependencies": [
|
|
"helm_release.gitea",
|
|
"kubernetes_config_map.act_runner",
|
|
"kubernetes_namespace.domains",
|
|
"kubernetes_secret.gitea_admin",
|
|
"kubernetes_secret.gitea_runner_token",
|
|
"kubernetes_service_account.act_runner",
|
|
"random_password.gitea_admin"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_namespace",
|
|
"name": "domains",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "auth",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "auth",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "auth",
|
|
"resource_version": "1017",
|
|
"uid": "670b6a0a-688f-4bbb-b4e3-7f9473969966"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "finance",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "finance",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "finance",
|
|
"resource_version": "1016",
|
|
"uid": "1e21a689-60ab-4df8-900b-ecd1c290c080"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "gitea",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "gitea",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea",
|
|
"resource_version": "7194",
|
|
"uid": "e3e765c2-f854-45b3-a31c-3d1c8f3fad9d"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "home",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "home",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "home",
|
|
"resource_version": "1019",
|
|
"uid": "eb214529-86e0-4fa7-a114-99897bb363dd"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "infrastructure",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "infrastructure",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "infrastructure",
|
|
"resource_version": "1020",
|
|
"uid": "55f7c0e1-c753-4f80-96c7-47c439bcb7af"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "monitoring",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "monitoring",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "monitoring",
|
|
"resource_version": "1021",
|
|
"uid": "9726d948-a912-43bb-9c06-e5639e946c75"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
},
|
|
{
|
|
"index_key": "test",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "test",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "test",
|
|
"resource_version": "1018",
|
|
"uid": "3d0d138d-645a-4c06-9db7-1baa5d99ebda"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_default_service_account": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjozMDAwMDAwMDAwMDB9fQ=="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "finance_api",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"GOOGLE_CLIENT_ID": "",
|
|
"GOOGLE_CLIENT_SECRET": "",
|
|
"SESSION_SECRET": "gFT3ZrThIVqNWYYSS9worMFEcGgX4jesnSbxI1AXARoOXnoV"
|
|
},
|
|
"id": "finance/finance-api-secrets",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "finance-api-secrets",
|
|
"namespace": "finance",
|
|
"resource_version": "1034",
|
|
"uid": "1de8b814-13e1-4f59-b87a-fad887c34f57"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "GOOGLE_CLIENT_SECRET",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "SESSION_SECRET",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.finance_session_secret"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "gitea_admin",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"email": "admin@gugagr.xyz",
|
|
"password": "rXhgLF11rARoww9v4fqjtZyc",
|
|
"username": "admin"
|
|
},
|
|
"id": "gitea/gitea-admin",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-admin",
|
|
"namespace": "gitea",
|
|
"resource_version": "7200",
|
|
"uid": "996994da-4982-478a-8b0d-bef29c5ae739"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "password",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.gitea_admin"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "gitea_registry",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "auth",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
".dockerconfigjson": "{\"auths\":{\"git.gugagr.xyz\":{\"auth\":\"YWRtaW46clhoZ0xGMTFyQVJvd3c5djRmcWp0Wnlj\"}}}"
|
|
},
|
|
"id": "auth/gitea-registry",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-registry",
|
|
"namespace": "auth",
|
|
"resource_version": "7205",
|
|
"uid": "a486f580-ad95-4b0e-8289-7fb25075a6c1"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "kubernetes.io/dockerconfigjson",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": ".dockerconfigjson",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.gitea_admin"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "finance",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
".dockerconfigjson": "{\"auths\":{\"git.gugagr.xyz\":{\"auth\":\"YWRtaW46clhoZ0xGMTFyQVJvd3c5djRmcWp0Wnlj\"}}}"
|
|
},
|
|
"id": "finance/gitea-registry",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-registry",
|
|
"namespace": "finance",
|
|
"resource_version": "7204",
|
|
"uid": "1d2e96e7-c460-417c-95e8-c72952087878"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "kubernetes.io/dockerconfigjson",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": ".dockerconfigjson",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.gitea_admin"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "home",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
".dockerconfigjson": "{\"auths\":{\"git.gugagr.xyz\":{\"auth\":\"YWRtaW46clhoZ0xGMTFyQVJvd3c5djRmcWp0Wnlj\"}}}"
|
|
},
|
|
"id": "home/gitea-registry",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-registry",
|
|
"namespace": "home",
|
|
"resource_version": "7202",
|
|
"uid": "d4d94392-58b3-4bd0-8567-3ac92ab18c80"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "kubernetes.io/dockerconfigjson",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": ".dockerconfigjson",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.gitea_admin"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "test",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
".dockerconfigjson": "{\"auths\":{\"git.gugagr.xyz\":{\"auth\":\"YWRtaW46clhoZ0xGMTFyQVJvd3c5djRmcWp0Wnlj\"}}}"
|
|
},
|
|
"id": "test/gitea-registry",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-registry",
|
|
"namespace": "test",
|
|
"resource_version": "7201",
|
|
"uid": "cfe1f65f-2c37-46e1-a226-835c79f316a4"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "kubernetes.io/dockerconfigjson",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": ".dockerconfigjson",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.gitea_admin"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "gitea_runner_token",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"token": "7TukmyYN9tzzZIbuGQjrkWqkKxJW3bmiEJNFF8py"
|
|
},
|
|
"id": "gitea/gitea-runner-token",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "gitea-runner-token",
|
|
"namespace": "gitea",
|
|
"resource_version": "7601",
|
|
"uid": "359e93d0-402c-409f-8ae8-4317d2c131e0"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "mongodb",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_INITDB_ROOT_PASSWORD": "ocKfskjL7WA09UCPRGl3MHWJ",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "infrastructure/mongodb",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb",
|
|
"namespace": "infrastructure",
|
|
"resource_version": "1036",
|
|
"uid": "a0287df7-0714-4373-94c3-67ef2131d7e8"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_INITDB_ROOT_PASSWORD",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_secret",
|
|
"name": "mongodb_shared_config",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "auth",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "auth/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "auth",
|
|
"resource_version": "1035",
|
|
"uid": "57d2ac8d-4d5f-4a64-a858-a50da777c6b8"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "finance",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "finance/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "finance",
|
|
"resource_version": "1042",
|
|
"uid": "5fb4efc9-93fc-4939-b4d7-3cf28d7c4904"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "gitea",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "gitea/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "gitea",
|
|
"resource_version": "7198",
|
|
"uid": "259d987a-9f8b-4693-a417-696c5870f3e0"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "home",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "home/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "home",
|
|
"resource_version": "1040",
|
|
"uid": "475b4bb1-4e3b-47fc-b05e-803a03d5900e"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "infrastructure",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "infrastructure/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "infrastructure",
|
|
"resource_version": "1039",
|
|
"uid": "74408f17-33d9-4573-ab69-86d6936711e6"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "monitoring",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "monitoring/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "monitoring",
|
|
"resource_version": "1038",
|
|
"uid": "97cf0b8e-6df4-4779-b717-c801e71c469a"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "test",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"binary_data": null,
|
|
"data": {
|
|
"MONGO_DB": "homelab",
|
|
"MONGO_URI": "mongodb://root:ocKfskjL7WA09UCPRGl3MHWJ@mongodb.infrastructure.svc:27017"
|
|
},
|
|
"id": "test/mongodb-shared-config",
|
|
"immutable": false,
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-shared-config",
|
|
"namespace": "test",
|
|
"resource_version": "1037",
|
|
"uid": "09ec8244-fa43-45a0-919e-9e7236533217"
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"type": "Opaque",
|
|
"wait_for_service_account_token": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "binary_data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "data"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "MONGO_URI",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"random_password.mongodb"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_service",
|
|
"name": "mongodb",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"id": "infrastructure/mongodb",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb",
|
|
"namespace": "infrastructure",
|
|
"resource_version": "1043",
|
|
"uid": "161741b1-eb05-498b-b565-b96c42eee390"
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"allocate_load_balancer_node_ports": true,
|
|
"cluster_ip": "10.43.243.100",
|
|
"cluster_ips": [
|
|
"10.43.243.100"
|
|
],
|
|
"external_ips": [],
|
|
"external_name": "",
|
|
"external_traffic_policy": "",
|
|
"health_check_node_port": 0,
|
|
"internal_traffic_policy": "Cluster",
|
|
"ip_families": [
|
|
"IPv4"
|
|
],
|
|
"ip_family_policy": "SingleStack",
|
|
"load_balancer_class": "",
|
|
"load_balancer_ip": "",
|
|
"load_balancer_source_ranges": [],
|
|
"port": [
|
|
{
|
|
"app_protocol": "",
|
|
"name": "",
|
|
"node_port": 0,
|
|
"port": 27017,
|
|
"protocol": "TCP",
|
|
"target_port": "27017"
|
|
}
|
|
],
|
|
"publish_not_ready_addresses": false,
|
|
"selector": {
|
|
"app": "mongodb"
|
|
},
|
|
"session_affinity": "None",
|
|
"session_affinity_config": [],
|
|
"type": "ClusterIP"
|
|
}
|
|
],
|
|
"status": [
|
|
{
|
|
"load_balancer": [
|
|
{
|
|
"ingress": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_load_balancer": true
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDB9LCJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_service_account",
|
|
"name": "act_runner",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"automount_service_account_token": true,
|
|
"default_secret_name": "",
|
|
"id": "gitea/act-runner",
|
|
"image_pull_secret": [],
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "act-runner",
|
|
"namespace": "gitea",
|
|
"resource_version": "7199",
|
|
"uid": "de58e93c-9d6f-4935-ad87-4f349f98a7d2"
|
|
}
|
|
],
|
|
"secret": [],
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "kubernetes_stateful_set",
|
|
"name": "mongodb",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/kubernetes\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"id": "infrastructure/mongodb",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 5,
|
|
"labels": {},
|
|
"name": "mongodb",
|
|
"namespace": "infrastructure",
|
|
"resource_version": "9081",
|
|
"uid": "33b482cf-e114-442b-87e9-12164c9e0218"
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"min_ready_seconds": 0,
|
|
"persistent_volume_claim_retention_policy": [
|
|
{
|
|
"when_deleted": "Retain",
|
|
"when_scaled": "Retain"
|
|
}
|
|
],
|
|
"pod_management_policy": "OrderedReady",
|
|
"replicas": "1",
|
|
"revision_history_limit": 0,
|
|
"selector": [
|
|
{
|
|
"match_expressions": [],
|
|
"match_labels": {
|
|
"app": "mongodb"
|
|
}
|
|
}
|
|
],
|
|
"service_name": "mongodb",
|
|
"template": [
|
|
{
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {
|
|
"app": "mongodb"
|
|
},
|
|
"name": "",
|
|
"namespace": "",
|
|
"resource_version": "",
|
|
"uid": ""
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"active_deadline_seconds": 0,
|
|
"affinity": [],
|
|
"automount_service_account_token": true,
|
|
"container": [
|
|
{
|
|
"args": [],
|
|
"command": [],
|
|
"env": [
|
|
{
|
|
"name": "MONGO_INITDB_ROOT_USERNAME",
|
|
"value": "root",
|
|
"value_from": []
|
|
},
|
|
{
|
|
"name": "MONGO_INITDB_ROOT_PASSWORD",
|
|
"value": "",
|
|
"value_from": [
|
|
{
|
|
"config_map_key_ref": [],
|
|
"field_ref": [],
|
|
"resource_field_ref": [],
|
|
"secret_key_ref": [
|
|
{
|
|
"key": "MONGO_INITDB_ROOT_PASSWORD",
|
|
"name": "mongodb",
|
|
"optional": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "MONGO_INITDB_DATABASE",
|
|
"value": "homelab",
|
|
"value_from": []
|
|
}
|
|
],
|
|
"env_from": [],
|
|
"image": "mongo:8.0",
|
|
"image_pull_policy": "IfNotPresent",
|
|
"lifecycle": [],
|
|
"liveness_probe": [],
|
|
"name": "mongodb",
|
|
"port": [
|
|
{
|
|
"container_port": 27017,
|
|
"host_ip": "",
|
|
"host_port": 0,
|
|
"name": "",
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"readiness_probe": [],
|
|
"resources": [
|
|
{
|
|
"limits": {
|
|
"cpu": "500m",
|
|
"memory": "512Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "200m",
|
|
"memory": "256Mi"
|
|
}
|
|
}
|
|
],
|
|
"security_context": [],
|
|
"startup_probe": [],
|
|
"stdin": false,
|
|
"stdin_once": false,
|
|
"termination_message_path": "/dev/termination-log",
|
|
"termination_message_policy": "File",
|
|
"tty": false,
|
|
"volume_mount": [
|
|
{
|
|
"mount_path": "/data/db",
|
|
"mount_propagation": "None",
|
|
"name": "mongodb-data",
|
|
"read_only": false,
|
|
"sub_path": ""
|
|
}
|
|
],
|
|
"working_dir": ""
|
|
}
|
|
],
|
|
"dns_config": [],
|
|
"dns_policy": "ClusterFirst",
|
|
"enable_service_links": true,
|
|
"host_aliases": [],
|
|
"host_ipc": false,
|
|
"host_network": false,
|
|
"host_pid": false,
|
|
"hostname": "",
|
|
"image_pull_secrets": [],
|
|
"init_container": [],
|
|
"node_name": "",
|
|
"node_selector": {},
|
|
"os": [],
|
|
"priority_class_name": "",
|
|
"readiness_gate": [],
|
|
"restart_policy": "Always",
|
|
"runtime_class_name": "",
|
|
"scheduler_name": "default-scheduler",
|
|
"security_context": [],
|
|
"service_account_name": "",
|
|
"share_process_namespace": false,
|
|
"subdomain": "",
|
|
"termination_grace_period_seconds": 30,
|
|
"toleration": [],
|
|
"topology_spread_constraint": [],
|
|
"volume": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"update_strategy": [],
|
|
"volume_claim_template": [
|
|
{
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"generate_name": "",
|
|
"generation": 0,
|
|
"labels": {},
|
|
"name": "mongodb-data",
|
|
"namespace": "default",
|
|
"resource_version": "",
|
|
"uid": ""
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"access_modes": [
|
|
"ReadWriteOnce"
|
|
],
|
|
"resources": [
|
|
{
|
|
"limits": {},
|
|
"requests": {
|
|
"storage": "5Gi"
|
|
}
|
|
}
|
|
],
|
|
"selector": [],
|
|
"storage_class_name": "local-path",
|
|
"volume_mode": "Filesystem",
|
|
"volume_name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"wait_for_rollout": false
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJyZWFkIjo2MDAwMDAwMDAwMDAsInVwZGF0ZSI6NjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=",
|
|
"dependencies": [
|
|
"kubernetes_namespace.domains",
|
|
"kubernetes_secret.mongodb",
|
|
"kubernetes_service.mongodb",
|
|
"random_password.mongodb"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_password",
|
|
"name": "finance_session_secret",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$3GIBRm/7NA9yzVPoUS8kyuuEtV2BHaQwAslZ6hXMo8h6W08zBas0G",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 48,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "gFT3ZrThIVqNWYYSS9worMFEcGgX4jesnSbxI1AXARoOXnoV",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_password",
|
|
"name": "gitea_admin",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$qGmz/uJh4HPuNWNdaadiW.2aakUvnhsi2FtUbw6ZPatm85VsgXqDi",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 24,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "rXhgLF11rARoww9v4fqjtZyc",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_password",
|
|
"name": "mongodb",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$SQEBe5KRO8Q89.Lxsi06auGAZXx0Pg1r7AWikGGPTe/bzN3mTaWai",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 24,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "ocKfskjL7WA09UCPRGl3MHWJ",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "terraform_data",
|
|
"name": "gitea_runner_registration",
|
|
"provider": "provider[\"terraform.io/builtin/terraform\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "6a71f4a6-c0a1-b3a2-4b17-75c0f103363c",
|
|
"input": null,
|
|
"output": null,
|
|
"triggers_replace": {
|
|
"value": [
|
|
"none"
|
|
],
|
|
"type": [
|
|
"tuple",
|
|
[
|
|
"string"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"sensitive_attributes": [],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"helm_release.gitea",
|
|
"kubernetes_namespace.domains",
|
|
"kubernetes_secret.gitea_admin",
|
|
"kubernetes_secret.gitea_runner_token",
|
|
"random_password.gitea_admin"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|