Skip to content

Commit d504514

Browse files
authored
Merge pull request validatedpatterns#431 from mbaldessari/metadata
Metadata support
2 parents 7e790d2 + dbfc520 commit d504514

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed

.github/workflows/update-metadata.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This job requires a secret called DOCS_TOKEN which should be a PAT token
2+
# that has the permissions described in:
3+
# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
4+
---
5+
name: Update docs pattern metadata
6+
7+
on:
8+
push:
9+
paths:
10+
- "pattern-metadata.yaml"
11+
- ".github/workflows/update-metadata.yml"
12+
13+
jobs:
14+
update-metadata:
15+
uses: validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
16+
permissions: # Workflow-level permissions
17+
contents: read # Required for "read-all"
18+
packages: write # Allows writing to packages
19+
id-token: write # Allows creating OpenID Connect (OIDC) tokens
20+
secrets: inherit
21+
# For testing you can point to a different branch in the docs repository
22+
# with:
23+
# DOCS_BRANCH: "main"

pattern-metadata.yaml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# This goal of this metadata is mainly used as a source of truth for
2+
# documentation and qe
3+
metadata_version: "1.0"
4+
name: multicloud-gitops
5+
pattern_version: "1.0"
6+
display_name: Multicloud Gitops
7+
repo_url: https://github.com/validatedpatterns/multicloud-gitops
8+
docs_repo_url: https://github.com/validatedpatterns/docs
9+
issues_url: https://github.com/validatedpatterns/multicloud-gitops/issues
10+
docs_url: https://validatedpatterns.io/patterns/multicloud-gitops/
11+
ci_url: https://validatedpatterns.io/ci/?pattern=mcgitops
12+
# can be sandbox, tested or maintained
13+
tier: maintained
14+
owners: mbaldessari, darkdoc
15+
requirements:
16+
hub: # Main cluster
17+
compute:
18+
platform:
19+
gcp:
20+
replicas: 3
21+
type: n1-standard-8
22+
azure:
23+
replicas: 3
24+
type: Standard_D8s_v3
25+
aws:
26+
replicas: 3
27+
type: m5.2xlarge
28+
controlPlane:
29+
platform:
30+
gcp:
31+
replicas: 3
32+
type: n1-standard-4
33+
azure:
34+
replicas: 3
35+
type: Standard_D4s_v3
36+
aws:
37+
replicas: 3
38+
type: m5.xlarge
39+
spoke: # optional - represents the clusters imported into ACM
40+
compute:
41+
platform:
42+
gcp:
43+
replicas: 0
44+
type: n1-standard-8
45+
azure:
46+
replicas: 0
47+
type: Standard_D8s_v3
48+
aws:
49+
replicas: 0
50+
type: m5.2xlarge
51+
controlPlane:
52+
platform:
53+
gcp:
54+
replicas: 3
55+
type: n1-standard-8
56+
azure:
57+
replicas: 3
58+
type: Standard_D8s_v3
59+
aws:
60+
replicas: 3
61+
type: m5.2xlarge
62+
63+
# Loosely defined extra features like hypershift support, non-openshift
64+
# kubernetes support, spoke support
65+
extra_features:
66+
hypershift_support: true
67+
spoke_support: true
68+
69+
external_requirements:
70+
# external quay, s3 bucket, agof tokens to access paywalled material, manifests, rag-llm hw (only selected regions)

0 commit comments

Comments
 (0)