Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "apiVersion": "batch/v2alpha1",
- "kind": "ScheduledJob",
- "metadata": {
- "labels": {
- "app": "mdm-mkgu-integration"
- },
- "annotations": {
- "title": "testDesc",
- "repeatCount": "1"
- },
- "name": "mdm-mkgu-integration1",
- "namespace": "mdm-stage-ns"
- },
- "spec": {
- "concurrencyPolicy": "Forbid",
- "startingDeadlineSeconds": 60,
- "jobTemplate": {
- "spec": {
- "template": {
- "metadata": {
- "labels": {
- "app": "mdm-mkgu-integration"
- },
- "name": "mdm-mkgu-integration1"
- },
- "spec": {
- "containers": [
- {
- "name": "mdm-mkgu-integration1",
- "image": "172.29.40.132:18443/mdm-mkgu-integration:1.1",
- "imagePullPolicy": "IfNotPresent",
- "env": [
- {
- "name": "DB_DRIVER_NAME",
- "value": "org.postgresql.Driver"
- },
- {
- "name": "DB_URL",
- "value": "jdbc:postgresql://mdm-db:5432"
- },
- {
- "name": "DB_USERNAME",
- "value": "postgres"
- },
- {
- "name": "DB_PASSWORD",
- "value": ""
- },
- {
- "name": "WS_SECURITY_ACTOR_NAME",
- "value": "http://smev.gosuslugi.ru/actors/smev"
- },
- {
- "name": "WS_SECURITY_CRYPTO_KEYSTORE_TYPE",
- "value": "HDImageStore"
- },
- {
- "name": "WS_SECURITY_USER",
- "value": "MFC_MOZDOK"
- },
- {
- "name": "WS_SECURITY_PASSWORD",
- "value": "12345678"
- },
- {
- "name": "SMEV_MESSAGE_SENDER_CODE",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_SENDER_NAME",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_RECIPIENT_CODE",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_RECIPIENT_NAME",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_ORIGINATOR_CODE",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_ORIGINATOR_NAME",
- "value": "MER001001"
- },
- {
- "name": "SMEV_MESSAGE_TYPECODE",
- "value": "GFNC"
- },
- {
- "name": "MKGU_WS_ENDPOINT",
- "value": "http://dev.vashkontrol.ru/smev/vendor-rates"
- },
- {
- "name": "RUN_ONCE_ENABLED",
- "value": "true"
- },
- {
- "name": "MKGU_BEGIN_DATE",
- "value": "2014-01-01T00:00:00.000Z"
- },
- {
- "name": "MKGU_END_DATE",
- "value": "2666-06-06T00:00:00.000Z"
- },
- {
- "name": "MKGU_DATE_INTERVAL",
- "value": "7"
- }
- ]
- }
- ],
- "restartPolicy": "OnFailure",
- "imagePullSecrets": [
- {
- "name": "nexus"
- }
- ]
- }
- }
- }
- },
- "schedule": "* */1 * * *"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement