Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
444 lines (443 sloc) 18.5 KB
{
"name": "Kubernetes Application Template",
"description": "Application Template for Kubernetes deployments",
"applicationProcessList": [{
"name": "Deploy from YAML file",
"description": "",
"inventoryManagementType": "AUTOMATIC",
"offlineAgentHandling": "PRE_EXECUTION_CHECK",
"rootActivity": {
"edges": [
{
"to": "c0bdd77a3d5c01e149f643cd5ac8da",
"from": "Always Apply Image Tags from YAML",
"type": "VALUE",
"value": ""
},
{
"to": "Always Apply Image Tags from YAML",
"from": "36da1c52b7e93bfe61e083ae7c00c4",
"type": "SUCCESS",
"value": ""
},
{
"to": "94ed247900ef01c17c2f8349574c38",
"from": "c0bdd77a3d5c01e149f643cd5ac8da",
"type": "SUCCESS",
"value": ""
},
{
"to": "36da1c52b7e93bfe61e083ae7c00c4",
"type": "ALWAYS",
"value": ""
},
{
"to": "94ed247900ef01c17c2f8349574c38",
"from": "Always Apply Image Tags from YAML",
"type": "VALUE",
"value": "true\nTRUE\nTrue"
}
],
"offsets": [
{
"name": "Always Apply Image Tags from YAML",
"x": -173.51851851851853,
"y": 250,
"h": 70,
"w": 460
},
{
"name": "94ed247900ef01c17c2f8349574c38",
"x": -2.0370370370370665,
"y": 490,
"h": 80,
"w": 120
},
{
"name": "36da1c52b7e93bfe61e083ae7c00c4",
"x": -85,
"y": 130,
"h": 70,
"w": 280
},
{
"name": "c0bdd77a3d5c01e149f643cd5ac8da",
"x": -159.53703703703707,
"y": 370,
"h": 70,
"w": 270
}
],
"layoutMode": "auto",
"type": "graph",
"name": "195478ab-7771-4733-8193-6c4e0df556f8",
"children": [
{
"type": "finish",
"name": "94ed247900ef01c17c2f8349574c38",
"children": []
},
{
"name": "36da1c52b7e93bfe61e083ae7c00c4",
"componentTag": {
"id": "d5a07ea3-4115-4880-8b96-8dbb33f758e3",
"name": "Kubernetes",
"color": "#008ABF",
"description": "",
"objectType": "Component"
},
"properties": [
{
"name": "activity.componentProcess.name",
"value": "Process and Apply YAML File"
},
{
"name": "maxCompIteration",
"value": "100"
},
{
"name": "maxIteration",
"value": "-1"
},
{
"name": "runOnlyOnFirst",
"value": "false"
},
{
"name": "failFast",
"value": "false"
}
],
"type": "multiComponentEnvironmentIterator",
"children": [{
"properties": [
{
"name": "runOnlyOnFirst",
"value": "false"
},
{
"name": "failFast",
"value": "false"
}
],
"type": "componentEnvironmentIterator",
"name": "657e71e4439054d19ccd5ad86153ca",
"children": [{
"status": "Active",
"type": "inventoryVersionDiff",
"name": "d1c44014-d26d-4f9e-a047-d83a9d55fe7a",
"children": [{
"componentProcessName": "Process and Apply YAML File",
"allowFailure": false,
"properties": {"activity.componentProcess.name": "Process and Apply YAML File"},
"type": "componentProcess",
"name": "Process and Apply YAML File",
"children": []
}]
}]
}]
},
{
"propertyName": "${p?:environment\/alwaysApplyVersionsFromYaml}",
"type": "switch",
"name": "Always Apply Image Tags from YAML",
"children": []
},
{
"name": "c0bdd77a3d5c01e149f643cd5ac8da",
"componentTag": {
"id": "19a8d02f-6c5f-47de-9b03-04451ba39d9e",
"name": "kubernetes.image",
"color": "#FFFFFF",
"description": "",
"objectType": "Component"
},
"properties": [
{
"name": "activity.componentProcess.name",
"value": "Update Inventory"
},
{
"name": "maxCompIteration",
"value": "100"
},
{
"name": "maxIteration",
"value": "-1"
},
{
"name": "runOnlyOnFirst",
"value": "false"
},
{
"name": "failFast",
"value": "false"
}
],
"type": "multiComponentEnvironmentIterator",
"children": [{
"properties": [
{
"name": "runOnlyOnFirst",
"value": "false"
},
{
"name": "failFast",
"value": "false"
}
],
"type": "componentEnvironmentIterator",
"name": "c6a44d294e7278fa36fd92b1ca6810",
"children": [{
"status": "Active",
"type": "inventoryVersionDiff",
"name": "2c573735-0b92-456d-8fd5-841e0db910af",
"children": [{
"componentProcessName": "Update Inventory",
"allowFailure": false,
"properties": {"activity.componentProcess.name": "Update Inventory"},
"type": "componentProcess",
"name": "Update Inventory",
"children": []
}]
}]
}]
}
]
},
"propDefs": [],
"versionPresets": []
}],
"genericProcesses": [],
"tagRequirements": [{
"type": "EQUALS",
"number": 1,
"tag": {
"objectType": "Component",
"name": "Kubernetes",
"description": "",
"color": "#008ABF"
}
}],
"enforceCompleteSnapshots": false,
"environmentTemplates": [
{
"name": "LOCAL",
"description": "",
"color": "#17AF4B",
"requireApproval": false,
"noSelfApprovals": false,
"lockSnapshots": false,
"cleanupDaysToKeep": 0,
"cleanupCountToKeep": 0,
"enableProcessHistoryCleanup": false,
"useSystemDefaultDays": true,
"historyCleanupDaysToKeep": 365,
"propDefs": [{
"name": "alwaysApplyVersionsFromYaml",
"label": "Always Apply Image Tags from YAML",
"pattern": "",
"type": "TEXT",
"value": "false",
"required": false,
"description": "If set to true, container image tags specified in the yaml will always be applied (container image tags specified in the UrbanCode Deploy user interface will be ignored).",
"placeholder": ""
}],
"resourceTemplate": {
"name": "Kubernetes Resource Template",
"resources": {
"name": "Kubernetes Resource Template",
"path": "\/Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Kubernetes",
"path": "\/Kubernetes Resource Template\/Kubernetes",
"description": "",
"parentName": "Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Agent Prototype",
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype",
"description": "Agent Prototype",
"parentName": "Kubernetes",
"role": "Agent Placeholder",
"roleProperties": {
"name": "Agent Placeholder",
"properties": [{
"name": "agentNamePatterns",
"value": "mrad0cker",
"description": "",
"secure": false
}]
},
"prototype": false,
"children": [{
"name": "Kubernetes",
"componentTag": {
"objectType": "Component",
"name": "Kubernetes",
"description": "",
"color": "#008ABF"
},
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype\/Kubernetes",
"description": "",
"parentName": "Agent Prototype",
"prototype": false,
"children": []
}]
}]
}]
},
"description": ""
},
"versionConditions": [],
"exemptProcesses": []
},
{
"name": "PROD",
"description": "",
"color": "#D9182D",
"requireApproval": false,
"noSelfApprovals": false,
"lockSnapshots": false,
"cleanupDaysToKeep": 0,
"cleanupCountToKeep": 0,
"enableProcessHistoryCleanup": false,
"useSystemDefaultDays": true,
"historyCleanupDaysToKeep": 365,
"propDefs": [{
"name": "alwaysApplyVersionsFromYaml",
"label": "Always Apply Image Tags from YAML",
"pattern": "",
"type": "TEXT",
"value": "false",
"required": false,
"description": "If set to true, container image tags specified in the yaml will always be applied (container image tags specified in the UrbanCode Deploy user interface will be ignored).",
"placeholder": ""
}],
"resourceTemplate": {
"name": "Kubernetes Resource Template",
"resources": {
"name": "Kubernetes Resource Template",
"path": "\/Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Kubernetes",
"path": "\/Kubernetes Resource Template\/Kubernetes",
"description": "",
"parentName": "Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Agent Prototype",
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype",
"description": "Agent Prototype",
"parentName": "Kubernetes",
"role": "Agent Placeholder",
"roleProperties": {
"name": "Agent Placeholder",
"properties": [{
"name": "agentNamePatterns",
"value": "mrad0cker",
"description": "",
"secure": false
}]
},
"prototype": false,
"children": [{
"name": "Kubernetes",
"componentTag": {
"objectType": "Component",
"name": "Kubernetes",
"description": "",
"color": "#008ABF"
},
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype\/Kubernetes",
"description": "",
"parentName": "Agent Prototype",
"prototype": false,
"children": []
}]
}]
}]
},
"description": ""
},
"versionConditions": [],
"exemptProcesses": []
},
{
"name": "QA",
"description": "",
"color": "#00B2EF",
"requireApproval": false,
"noSelfApprovals": false,
"lockSnapshots": false,
"cleanupDaysToKeep": 0,
"cleanupCountToKeep": 0,
"enableProcessHistoryCleanup": false,
"useSystemDefaultDays": true,
"historyCleanupDaysToKeep": 365,
"propDefs": [{
"name": "alwaysApplyVersionsFromYaml",
"label": "Always Apply Image Tags from YAML",
"pattern": "",
"type": "TEXT",
"value": "false",
"required": false,
"description": "If set to true, container image tags specified in the yaml will always be applied (container image tags specified in the UrbanCode Deploy user interface will be ignored).",
"placeholder": ""
}],
"resourceTemplate": {
"name": "Kubernetes Resource Template",
"resources": {
"name": "Kubernetes Resource Template",
"path": "\/Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Kubernetes",
"path": "\/Kubernetes Resource Template\/Kubernetes",
"description": "",
"parentName": "Kubernetes Resource Template",
"prototype": false,
"children": [{
"name": "Agent Prototype",
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype",
"description": "Agent Prototype",
"parentName": "Kubernetes",
"role": "Agent Placeholder",
"roleProperties": {
"name": "Agent Placeholder",
"properties": [{
"name": "agentNamePatterns",
"value": "mrad0cker",
"description": "",
"secure": false
}]
},
"prototype": false,
"children": [{
"name": "Kubernetes",
"componentTag": {
"objectType": "Component",
"name": "Kubernetes",
"description": "",
"color": "#008ABF"
},
"path": "\/Kubernetes Resource Template\/Kubernetes\/Agent Prototype\/Kubernetes",
"description": "",
"parentName": "Agent Prototype",
"prototype": false,
"children": []
}]
}]
}]
},
"description": ""
},
"versionConditions": [],
"exemptProcesses": []
}
],
"propDefs": [],
"statuses": []
}
You can’t perform that action at this time.