gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
12
apps-gx10/intranet/configmap-intranet-config.json
Normal file
12
apps-gx10/intranet/configmap-intranet-config.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"data": {
|
||||
"KnowledgeApiKey": "",
|
||||
"TrustedHeaderSharedSecret": ""
|
||||
},
|
||||
"kind": "ConfigMap",
|
||||
"metadata": {
|
||||
"name": "intranet-config",
|
||||
"namespace": "intranet"
|
||||
}
|
||||
}
|
||||
160
apps-gx10/intranet/deployment-intranet-web.json
Normal file
160
apps-gx10/intranet/deployment-intranet-web.json
Normal file
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "intranet-web"
|
||||
},
|
||||
"name": "intranet-web",
|
||||
"namespace": "intranet"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "intranet-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"type": "Recreate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-06-14T00:57:21-05:00"
|
||||
},
|
||||
"labels": {
|
||||
"app": "intranet-web"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "ASPNETCORE_ENVIRONMENT",
|
||||
"value": "Production"
|
||||
},
|
||||
{
|
||||
"name": "ASPNETCORE_URLS",
|
||||
"value": "http://+:5300"
|
||||
},
|
||||
{
|
||||
"name": "IntranetSearch__OllamaBaseUrl",
|
||||
"value": "http://10.0.57.201:11434"
|
||||
},
|
||||
{
|
||||
"name": "IntranetSearch__Enabled",
|
||||
"value": "true"
|
||||
},
|
||||
{
|
||||
"name": "PageReadingOverrides__DatabasePath",
|
||||
"value": "/data/page-reading-overrides.db"
|
||||
},
|
||||
{
|
||||
"name": "KnowledgeFleetSearch__BaseUrl",
|
||||
"value": "https://knowledge.iamworkin.lan"
|
||||
},
|
||||
{
|
||||
"name": "KnowledgeFleetSearch__ApiKey",
|
||||
"valueFrom": {
|
||||
"configMapKeyRef": {
|
||||
"key": "KnowledgeApiKey",
|
||||
"name": "intranet-config",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "TrustedHeaderAuthentication__SharedSecret",
|
||||
"valueFrom": {
|
||||
"configMapKeyRef": {
|
||||
"key": "TrustedHeaderSharedSecret",
|
||||
"name": "intranet-config",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-intranet-web:gx10-v1",
|
||||
"imagePullPolicy": "Never",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 5300,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 30,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "intranet-web",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 5300,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/health",
|
||||
"port": 5300,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 10,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"memory": "1Gi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "100m",
|
||||
"memory": "256Mi"
|
||||
}
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/data",
|
||||
"name": "vector-store"
|
||||
},
|
||||
{
|
||||
"mountPath": "/srv/flowercore-notes",
|
||||
"name": "notes-corpus",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "vector-store",
|
||||
"persistentVolumeClaim": {
|
||||
"claimName": "intranet-vector-store"
|
||||
}
|
||||
},
|
||||
{
|
||||
"emptyDir": {},
|
||||
"name": "notes-corpus"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
29
apps-gx10/intranet/ingressroute-intranet-web.json
Normal file
29
apps-gx10/intranet/ingressroute-intranet-web.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "traefik.io/v1alpha1",
|
||||
"kind": "IngressRoute",
|
||||
"metadata": {
|
||||
"name": "intranet-web",
|
||||
"namespace": "intranet"
|
||||
},
|
||||
"spec": {
|
||||
"entryPoints": [
|
||||
"websecure"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"kind": "Rule",
|
||||
"match": "Host(`intranet.iamworkin.lan`)",
|
||||
"priority": 100,
|
||||
"services": [
|
||||
{
|
||||
"name": "intranet-web",
|
||||
"port": 5300
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"secretName": "intranet-tls"
|
||||
}
|
||||
}
|
||||
}
|
||||
25
apps-gx10/intranet/service-intranet-web.json
Normal file
25
apps-gx10/intranet/service-intranet-web.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"labels": {},
|
||||
"name": "intranet-web",
|
||||
"namespace": "intranet"
|
||||
},
|
||||
"spec": {
|
||||
"internalTrafficPolicy": "Cluster",
|
||||
"ports": [
|
||||
{
|
||||
"name": "http",
|
||||
"port": 5300,
|
||||
"protocol": "TCP",
|
||||
"targetPort": 5300
|
||||
}
|
||||
],
|
||||
"selector": {
|
||||
"app": "intranet-web"
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user