gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
169
apps-gx10/fc-dms/deployment-dms-web.json
Normal file
169
apps-gx10/fc-dms/deployment-dms-web.json
Normal file
@@ -0,0 +1,169 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "dms-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "dms-web",
|
||||
"namespace": "fc-dms"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app.kubernetes.io/name": "dms-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"type": "Recreate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-06-12T16:05:19-05:00",
|
||||
"prometheus.io/path": "/metrics/prometheus",
|
||||
"prometheus.io/port": "8080",
|
||||
"prometheus.io/scrape": "true"
|
||||
},
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "dms-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "Kestrel__Endpoints__Http__Url",
|
||||
"value": "http://+:8080"
|
||||
},
|
||||
{
|
||||
"name": "Kestrel__Endpoints__Http__Protocols",
|
||||
"value": "Http1"
|
||||
},
|
||||
{
|
||||
"name": "Kestrel__Endpoints__Grpc__Url",
|
||||
"value": "http://+:8081"
|
||||
},
|
||||
{
|
||||
"name": "Kestrel__Endpoints__Grpc__Protocols",
|
||||
"value": "Http2"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__OidcClientId",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "client_id",
|
||||
"name": "dms-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__OidcClientSecret",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "client_secret",
|
||||
"name": "dms-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__OidcAuthority",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "issuer_url",
|
||||
"name": "dms-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"envFrom": [
|
||||
{
|
||||
"configMapRef": {
|
||||
"name": "dms-web-config"
|
||||
}
|
||||
},
|
||||
{
|
||||
"secretRef": {
|
||||
"name": "dms-web-secrets"
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-dms-web:gx10-v1",
|
||||
"imagePullPolicy": "Never",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 180,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 5
|
||||
},
|
||||
"name": "dms-web",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
},
|
||||
{
|
||||
"containerPort": 8081,
|
||||
"name": "grpc",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 18,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 30,
|
||||
"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": {
|
||||
"fsGroup": 1654,
|
||||
"fsGroupChangePolicy": "OnRootMismatch"
|
||||
},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "data",
|
||||
"persistentVolumeClaim": {
|
||||
"claimName": "dms-web-data"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user