gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
20
apps-gx10/fc-retail/configmap-retail-web-config.json
Normal file
20
apps-gx10/fc-retail/configmap-retail-web-config.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"data": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Production",
|
||||
"ASPNETCORE_FORWARDEDHEADERS_ENABLED": "true",
|
||||
"ASPNETCORE_URLS": "http://+:5000",
|
||||
"FlowerCore__Database__ConnectionStrings__Sqlite": "Data Source=/data/retail.db",
|
||||
"FlowerCore__Database__Provider": "Sqlite",
|
||||
"FlowerCore__Retail__BaseUrl": "https://retail.iamworkin.lan",
|
||||
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://otel-collector.monitoring.svc.cluster.local:4317",
|
||||
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
|
||||
"OTEL_SERVICE_NAME": "FlowerCore.Retail",
|
||||
"PrintService__BaseUrl": "http://print.iamworkin.lan:5200"
|
||||
},
|
||||
"kind": "ConfigMap",
|
||||
"metadata": {
|
||||
"name": "retail-web-config",
|
||||
"namespace": "fc-retail"
|
||||
}
|
||||
}
|
||||
111
apps-gx10/fc-retail/deployment-retail-web.json
Normal file
111
apps-gx10/fc-retail/deployment-retail-web.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/managed-by": "argocd",
|
||||
"app.kubernetes.io/name": "retail-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "retail-web",
|
||||
"namespace": "fc-retail"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 3,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app.kubernetes.io/name": "retail-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"type": "Recreate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"fc.flowercore.io/healthz-anon": "true",
|
||||
"fc.flowercore.io/probe-path": "/healthz",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-06-02T01:34:08-05:00",
|
||||
"prometheus.io/path": "/metrics/prometheus",
|
||||
"prometheus.io/port": "5000",
|
||||
"prometheus.io/scrape": "true"
|
||||
},
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "retail-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "retail-web-config"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-retail-web:gx10-v1",
|
||||
"imagePullPolicy": "Never",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 5000,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 30,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 5
|
||||
},
|
||||
"name": "retail-web",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 5000,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 6,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 5000,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 10,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 5
|
||||
},
|
||||
"resources": {},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/data",
|
||||
"name": "data"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "data",
|
||||
"persistentVolumeClaim": {
|
||||
"claimName": "retail-web-data"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
29
apps-gx10/fc-retail/ingressroute-retail-web.json
Normal file
29
apps-gx10/fc-retail/ingressroute-retail-web.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "traefik.io/v1alpha1",
|
||||
"kind": "IngressRoute",
|
||||
"metadata": {
|
||||
"name": "retail-web",
|
||||
"namespace": "fc-retail"
|
||||
},
|
||||
"spec": {
|
||||
"entryPoints": [
|
||||
"websecure"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"kind": "Rule",
|
||||
"match": "Host(`retail.iamworkin.lan`)",
|
||||
"priority": 100,
|
||||
"services": [
|
||||
{
|
||||
"name": "retail-web",
|
||||
"port": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"secretName": "retail-web-tls"
|
||||
}
|
||||
}
|
||||
}
|
||||
29
apps-gx10/fc-retail/service-retail-web.json
Normal file
29
apps-gx10/fc-retail/service-retail-web.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/managed-by": "argocd",
|
||||
"app.kubernetes.io/name": "retail-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "retail-web",
|
||||
"namespace": "fc-retail"
|
||||
},
|
||||
"spec": {
|
||||
"internalTrafficPolicy": "Cluster",
|
||||
"ports": [
|
||||
{
|
||||
"name": "http",
|
||||
"port": 80,
|
||||
"protocol": "TCP",
|
||||
"targetPort": 5000
|
||||
}
|
||||
],
|
||||
"selector": {
|
||||
"app.kubernetes.io/name": "retail-web"
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user