Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pattern-catalog.Dockerfile
pattern-ui-catalog.Dockerfile
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ extra_features:
external_requirements: null
org: my-org
spoke: null
variants:
- name: default
default: true
description: Default deployment variant
```

**`catalog/<name>/values-secret.yaml.template`** - metadata for secret material
Expand Down
28 changes: 28 additions & 0 deletions pattern.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@
"type": "string",
"description": "URL or path to a logo image for the pattern",
"format": "uri"
},
"variants": {
"type": "array",
"description": "Deployment variants for the pattern",
"items": {
"$ref": "#/$defs/variant"
},
"minItems": 1
}
},
"$defs": {
Expand Down Expand Up @@ -191,6 +199,26 @@
"$ref": "#/$defs/nodePoolSpec"
}
}
},
"variant": {
"type": "object",
"description": "A deployment variant of the pattern",
"required": ["name"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Unique identifier for the variant"
},
"default": {
"type": "boolean",
"description": "Whether this is the default variant"
},
"description": {
"type": "string",
"description": "Human-readable description of the variant"
}
}
}
}
}