gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
11
apps-gx10/fc-tenant-fit/configmap-fit-web-html.json
Normal file
11
apps-gx10/fc-tenant-fit/configmap-fit-web-html.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"data": {
|
||||
"index.html": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>Flower Insider \u2014 flowerinsider.xyz</title>\n <style>\n * { margin: 0; padding: 0; box-sizing: border-box; }\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n background: #0A1628;\n color: #e0e8f0;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n }\n .bg {\n position: fixed;\n inset: 0;\n background:\n radial-gradient(ellipse 80% 60% at 50% 0%, rgba(43,138,255,0.15) 0%, transparent 70%),\n radial-gradient(ellipse 60% 50% at 80% 100%, rgba(43,138,255,0.08) 0%, transparent 60%),\n linear-gradient(135deg, #0A1628 0%, #111E36 50%, #0A1628 100%);\n z-index: 0;\n }\n .container {\n position: relative;\n z-index: 1;\n text-align: center;\n padding: 2rem;\n max-width: 640px;\n width: 100%;\n }\n .badge {\n display: inline-block;\n background: rgba(43,138,255,0.12);\n border: 1px solid rgba(43,138,255,0.25);\n border-radius: 20px;\n padding: 0.4rem 1.2rem;\n font-size: 0.8rem;\n color: #2B8AFF;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n margin-bottom: 2rem;\n }\n .icon {\n font-size: 4rem;\n margin-bottom: 1.5rem;\n filter: drop-shadow(0 0 30px rgba(43,138,255,0.3));\n }\n h1 {\n font-size: 2.8rem;\n font-weight: 700;\n background: linear-gradient(135deg, #2B8AFF 0%, #6BB3FF 100%);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n background-clip: text;\n margin-bottom: 0.5rem;\n }\n .domain {\n font-size: 1.1rem;\n color: #6BB3FF;\n font-weight: 300;\n font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;\n margin-bottom: 2.5rem;\n }\n .status {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n background: rgba(43,138,255,0.08);\n border: 1px solid rgba(43,138,255,0.15);\n border-radius: 8px;\n padding: 1rem 2rem;\n margin-bottom: 2rem;\n }\n .status .dot {\n width: 8px;\n height: 8px;\n background: #2B8AFF;\n border-radius: 50%;\n animation: pulse 2s ease-in-out infinite;\n }\n @keyframes pulse {\n 0%, 100% { opacity: 0.4; }\n 50% { opacity: 1; box-shadow: 0 0 8px rgba(43,138,255,0.6); }\n }\n .status p {\n font-size: 0.95rem;\n color: #8aa8c4;\n }\n .divider {\n width: 40px;\n height: 2px;\n background: linear-gradient(90deg, transparent, rgba(43,138,255,0.4), transparent);\n margin: 2rem auto;\n }\n .footer {\n color: #3a5570;\n font-size: 0.75rem;\n line-height: 1.6;\n }\n .footer a {\n color: #4a7a9e;\n text-decoration: none;\n }\n @media (max-width: 480px) {\n h1 { font-size: 2rem; }\n .icon { font-size: 3rem; }\n .container { padding: 1.5rem; }\n }\n </style>\n</head>\n<body>\n <div class=\"bg\"></div>\n <div class=\"container\">\n <div class=\"badge\">Flower Insider Team</div>\n <div class=\"icon\">🌸</div>\n <h1>Flower Insider</h1>\n <p class=\"domain\">flowerinsider.xyz</p>\n <div class=\"status\">\n <span class=\"dot\"></span>\n <p>Coming Soon</p>\n </div>\n <div class=\"divider\"></div>\n <p class=\"footer\">\n Powered by <a href=\"https://flowercore.io\">FlowerCore</a>\n </p>\n </div>\n</body>\n</html>\n"
|
||||
},
|
||||
"kind": "ConfigMap",
|
||||
"metadata": {
|
||||
"name": "fit-web-html",
|
||||
"namespace": "fc-tenant-fit"
|
||||
}
|
||||
}
|
||||
11
apps-gx10/fc-tenant-fit/configmap-fit-web-nginx-conf.json
Normal file
11
apps-gx10/fc-tenant-fit/configmap-fit-web-nginx-conf.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"data": {
|
||||
"default.conf": "server {\n listen 80;\n server_name _;\n root /usr/share/nginx/html;\n index index.html;\n location / { try_files $uri $uri/ =404; }\n location /healthz { access_log off; return 200 \"ok\"; add_header Content-Type text/plain; }\n}\n"
|
||||
},
|
||||
"kind": "ConfigMap",
|
||||
"metadata": {
|
||||
"name": "fit-web-nginx-conf",
|
||||
"namespace": "fc-tenant-fit"
|
||||
}
|
||||
}
|
||||
119
apps-gx10/fc-tenant-fit/deployment-fit-web.json
Normal file
119
apps-gx10/fc-tenant-fit/deployment-fit-web.json
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "fit-web"
|
||||
},
|
||||
"name": "fit-web",
|
||||
"namespace": "fc-tenant-fit"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "fit-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"rollingUpdate": {
|
||||
"maxSurge": "25%",
|
||||
"maxUnavailable": "25%"
|
||||
},
|
||||
"type": "RollingUpdate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "fit-web"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"image": "nginx:alpine",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/healthz",
|
||||
"port": 80,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 5,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "nginx",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 80,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/healthz",
|
||||
"port": 80,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 3,
|
||||
"periodSeconds": 5,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "50m",
|
||||
"memory": "64Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "10m",
|
||||
"memory": "32Mi"
|
||||
}
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/etc/nginx/conf.d/default.conf",
|
||||
"name": "nginx-conf",
|
||||
"subPath": "default.conf"
|
||||
},
|
||||
{
|
||||
"mountPath": "/usr/share/nginx/html",
|
||||
"name": "html"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"configMap": {
|
||||
"defaultMode": 420,
|
||||
"name": "fit-web-nginx-conf"
|
||||
},
|
||||
"name": "nginx-conf"
|
||||
},
|
||||
{
|
||||
"configMap": {
|
||||
"defaultMode": 420,
|
||||
"name": "fit-web-html"
|
||||
},
|
||||
"name": "html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
29
apps-gx10/fc-tenant-fit/ingressroute-fit-web.json
Normal file
29
apps-gx10/fc-tenant-fit/ingressroute-fit-web.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "traefik.io/v1alpha1",
|
||||
"kind": "IngressRoute",
|
||||
"metadata": {
|
||||
"name": "fit-web",
|
||||
"namespace": "fc-tenant-fit"
|
||||
},
|
||||
"spec": {
|
||||
"entryPoints": [
|
||||
"websecure"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"kind": "Rule",
|
||||
"match": "Host(`flowerinsider.xyz`) || Host(`www.flowerinsider.xyz`)",
|
||||
"priority": 100,
|
||||
"services": [
|
||||
{
|
||||
"name": "fit-web",
|
||||
"port": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"secretName": "cf-origin-flowerinsider-xyz"
|
||||
}
|
||||
}
|
||||
}
|
||||
24
apps-gx10/fc-tenant-fit/service-fit-web.json
Normal file
24
apps-gx10/fc-tenant-fit/service-fit-web.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"name": "fit-web",
|
||||
"namespace": "fc-tenant-fit"
|
||||
},
|
||||
"spec": {
|
||||
"internalTrafficPolicy": "Cluster",
|
||||
"ports": [
|
||||
{
|
||||
"name": "http",
|
||||
"port": 80,
|
||||
"protocol": "TCP",
|
||||
"targetPort": 80
|
||||
}
|
||||
],
|
||||
"selector": {
|
||||
"app": "fit-web"
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user