gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
28
apps-gx10/fc-dms/configmap-dms-web-config.json
Normal file
28
apps-gx10/fc-dms/configmap-dms-web-config.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"data": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Production",
|
||||
"ASPNETCORE_FORWARDEDHEADERS_ENABLED": "true",
|
||||
"ASPNETCORE_URLS": "http://+:8080",
|
||||
"Dms__AutoMessageDaemon__PollIntervalMinutes": "5",
|
||||
"Dms__Weather__CacheFilePath": "/data/noaa-cache.json",
|
||||
"Dms__Weather__State": "MN",
|
||||
"FlowerCore__Auth__AcceptLegacyApiKey": "true",
|
||||
"FlowerCore__Auth__AcceptLegacyJwt": "false",
|
||||
"FlowerCore__Auth__Provider": "Oidc",
|
||||
"FlowerCore__Auth__RoleClaimType": "fc:roles",
|
||||
"FlowerCore__Database__ConnectionStrings__Sqlite": "Data Source=/data/dms.db",
|
||||
"FlowerCore__Database__Provider": "Sqlite",
|
||||
"FlowerCore__Tenant__DefaultTenantHosts__0": "dms.iamworkin.lan",
|
||||
"FlowerCore__Tenant__JwtClaimsEnabled": "false",
|
||||
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://otel-collector.monitoring.svc.cluster.local:4317",
|
||||
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
|
||||
"OTEL_SERVICE_NAME": "FlowerCore.DMS",
|
||||
"Security__AllowedOrigins__0": "https://dms.iamworkin.lan"
|
||||
},
|
||||
"kind": "ConfigMap",
|
||||
"metadata": {
|
||||
"name": "dms-web-config",
|
||||
"namespace": "fc-dms"
|
||||
}
|
||||
}
|
||||
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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
29
apps-gx10/fc-dms/ingressroute-dms-web.json
Normal file
29
apps-gx10/fc-dms/ingressroute-dms-web.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "traefik.io/v1alpha1",
|
||||
"kind": "IngressRoute",
|
||||
"metadata": {
|
||||
"name": "dms-web",
|
||||
"namespace": "fc-dms"
|
||||
},
|
||||
"spec": {
|
||||
"entryPoints": [
|
||||
"websecure"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"kind": "Rule",
|
||||
"match": "Host(`dms.iamworkin.lan`)",
|
||||
"priority": 100,
|
||||
"services": [
|
||||
{
|
||||
"name": "dms-web",
|
||||
"port": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"secretName": "dms-web-tls"
|
||||
}
|
||||
}
|
||||
}
|
||||
34
apps-gx10/fc-dms/service-dms-web.json
Normal file
34
apps-gx10/fc-dms/service-dms-web.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "dms-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "dms-web",
|
||||
"namespace": "fc-dms"
|
||||
},
|
||||
"spec": {
|
||||
"internalTrafficPolicy": "Cluster",
|
||||
"ports": [
|
||||
{
|
||||
"name": "http",
|
||||
"port": 80,
|
||||
"protocol": "TCP",
|
||||
"targetPort": 8080
|
||||
},
|
||||
{
|
||||
"name": "grpc",
|
||||
"port": 8081,
|
||||
"protocol": "TCP",
|
||||
"targetPort": 8081
|
||||
}
|
||||
],
|
||||
"selector": {
|
||||
"app.kubernetes.io/name": "dms-web"
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user