gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
134
apps-gx10/fc-system/deployment-php-operator.json
Normal file
134
apps-gx10/fc-system/deployment-php-operator.json
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/component": "operator",
|
||||
"app.kubernetes.io/instance": "php-operator",
|
||||
"app.kubernetes.io/managed-by": "flowercore",
|
||||
"app.kubernetes.io/name": "php-operator",
|
||||
"app.kubernetes.io/part-of": "flowercore-php"
|
||||
},
|
||||
"name": "php-operator",
|
||||
"namespace": "fc-system"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app.kubernetes.io/instance": "php-operator",
|
||||
"app.kubernetes.io/name": "php-operator",
|
||||
"app.kubernetes.io/part-of": "flowercore-php"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"rollingUpdate": {
|
||||
"maxSurge": "25%",
|
||||
"maxUnavailable": "25%"
|
||||
},
|
||||
"type": "RollingUpdate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-04-17T10:09:10-05:00"
|
||||
},
|
||||
"labels": {
|
||||
"app.kubernetes.io/component": "operator",
|
||||
"app.kubernetes.io/instance": "php-operator",
|
||||
"app.kubernetes.io/managed-by": "flowercore",
|
||||
"app.kubernetes.io/name": "php-operator",
|
||||
"app.kubernetes.io/part-of": "flowercore-php"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"automountServiceAccountToken": true,
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "ASPNETCORE_ENVIRONMENT",
|
||||
"value": "Production"
|
||||
},
|
||||
{
|
||||
"name": "ASPNETCORE_URLS",
|
||||
"value": "http://+:8080"
|
||||
},
|
||||
{
|
||||
"name": "MySqlManager__BaseUrl",
|
||||
"value": "https://mysql.iamworkin.lan/"
|
||||
},
|
||||
{
|
||||
"name": "MySqlManager__BypassTls",
|
||||
"value": "true"
|
||||
},
|
||||
{
|
||||
"name": "PhpManager__BaseUrl",
|
||||
"value": "https://php.iamworkin.lan/"
|
||||
},
|
||||
{
|
||||
"name": "PhpManager__BypassTls",
|
||||
"value": "true"
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-php-operator:gx10-v1",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/healthz",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 15,
|
||||
"periodSeconds": 20,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 3
|
||||
},
|
||||
"name": "php-operator",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"path": "/healthz",
|
||||
"port": 8080,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 5,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 3
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "500m",
|
||||
"memory": "512Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "250m",
|
||||
"memory": "256Mi"
|
||||
}
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File"
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {},
|
||||
"serviceAccount": "php-operator",
|
||||
"serviceAccountName": "php-operator",
|
||||
"terminationGracePeriodSeconds": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user