Skip to content

Commit 768bba8

Browse files
committed
Initial batch of blueprints
1 parent 6937827 commit 768bba8

File tree

183 files changed

+7500
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+7500
-0
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Any files on root level (dotfiles like .gitignore, .eslintrc, etc. but also package.json etc.) owned by CO team.
2+
* @I540484
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug
4+
labels: kind/bug
5+
6+
---
7+
8+
**What happened**:
9+
10+
**What you expected to happen**:
11+
12+
**How to reproduce it (as minimally and precisely as possible)**:
13+
14+
**Anything else we need to know**:
15+
16+
**Environment**:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Enhancement Request
3+
about: Suggest an enhancement
4+
labels: kind/enhancement
5+
6+
---
7+
8+
**What would you like to be added**:
9+
10+
**Why is this needed**:

.github/pull_request_template.md

Whitespace-only changes.

.github/renovate.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":prImmediately",
6+
":prHourlyLimitNone",
7+
":prConcurrentLimitNone",
8+
":label(renovate)",
9+
":separateMultipleMajorReleases",
10+
":separatePatchReleases",
11+
":enableVulnerabilityAlertsWithLabel(security)",
12+
":dependencyDashboard",
13+
":semanticCommits"
14+
],
15+
"assignees": [
16+
"<user_name>"
17+
],
18+
"timezone": "Europe/Berlin",
19+
"semanticCommitType": "chore",
20+
"semanticCommitScope": "deps",
21+
"automerge": true,
22+
"automergeType": "pr",
23+
"automergeStrategy": "squash",
24+
"platformAutomerge": true,
25+
"rebaseWhen": "auto",
26+
"packageRules": [
27+
{
28+
"matchUpdateTypes": [
29+
"minor",
30+
"patch",
31+
"pin",
32+
"digest"
33+
],
34+
"automerge": true
35+
}
36+
]
37+
}

.github/settings.yml

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2+
3+
repository:
4+
# See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings.
5+
6+
# The name of the repository. Changing this will rename the repository
7+
name: mcp-blueprints
8+
9+
# A short description of the repository that will show up on GitHub
10+
description: This repository contains Blueprints for Managed Control Plane
11+
12+
# A URL with more information about the repository
13+
homepage: https://github.com/openmcp-project
14+
15+
# Either `true` to make the repository private, or `false` to make it public.
16+
private: false
17+
18+
# A comma-separated list of topics to set on the repository
19+
topics: k8s, Cloud-Native, IaD, Cloud Orchestrator, ManageControlPlane, Blueprints
20+
21+
# Either `true` to enable issues for this repository, `false` to disable them.
22+
has_issues: true
23+
24+
# Either `true` to enable projects for this repository, or `false` to disable them.
25+
# If projects are disabled for the organization, passing `true` will cause an API error.
26+
has_projects: false
27+
28+
# Either `true` to enable the wiki for this repository, `false` to disable it.
29+
has_wiki: false
30+
31+
# Either `true` to enable downloads for this repository, `false` to disable them.
32+
has_downloads: true
33+
34+
# Updates the default branch for this repository.
35+
default_branch: main
36+
37+
# Either `true` to allow squash-merging pull requests, or `false` to prevent
38+
# squash-merging.
39+
allow_squash_merge: true
40+
41+
# Either `true` to allow merging pull requests with a merge commit, or `false`
42+
# to prevent merging pull requests with merge commits.
43+
allow_merge_commit: false
44+
45+
# Either `true` to allow rebase-merging pull requests, or `false` to prevent
46+
# rebase-merging.
47+
allow_rebase_merge: false
48+
49+
# Either `true` to enable automatic deletion of branches on merge, or `false` to disable
50+
delete_branch_on_merge: true
51+
52+
# Allow users to let gh automatically merge pullrequests in case all requirements are satisified. PR of Renovate Bot needs true
53+
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository
54+
allow_auto_merge: true
55+
56+
# Labels: define labels for Issues and Pull Requests
57+
labels:
58+
- name: released
59+
color: '#65B078'
60+
description: The feature has been released
61+
- name: renovate
62+
color: '#E0E4CC'
63+
description: Dependencies need to be updated
64+
- name: no-release
65+
color: '#B29280'
66+
description: The PR will not trigger a release
67+
68+
# Milestones: define milestones for Issues and Pull Requests
69+
milestones:
70+
# - title: milestone-title
71+
# description: milestone-description
72+
# # The state of the milestone. Either `open` or `closed`
73+
# state: open
74+
75+
# Collaborators: give specific users access to this repository.
76+
# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options
77+
collaborators:
78+
# - username: bkeepers
79+
# permission: push
80+
# - username: hubot
81+
# permission: pull
82+
83+
# Note: `permission` is only valid on organization-owned repositories.
84+
# The permission to grant the collaborator. Can be one of:
85+
# * `pull` - can pull, but not push to or administer this repository.
86+
# * `push` - can pull and push, but not administer this repository.
87+
# * `admin` - can pull, push and administer this repository.
88+
# * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
89+
# * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
90+
91+
# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
92+
teams:
93+
# # The permission to grant the team. Can be one of:
94+
# # * `pull` - can pull, but not push to or administer this repository.
95+
# # * `push` - can pull and push, but not administer this repository.
96+
# # * `admin` - can pull, push and administer this repository.
97+
# # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
98+
# # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
99+
# - name: 'ketos_github_admin'
100+
# permission: "admin"
101+
# - name: 'ketos_github_maintainer'
102+
# permission: 'maintain'
103+
# - name: 'ketos_github_contributer'
104+
# permission: 'push'
105+
106+
branches:
107+
- name: main
108+
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
109+
# Branch Protection settings. Set to null to disable
110+
protection:
111+
# Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to false to disable. Default: false.
112+
required_conversation_resolution: true
113+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
114+
required_pull_request_reviews:
115+
# The number of approvals required. (1-6)
116+
required_approving_review_count: 1
117+
# Dismiss approved reviews automatically when a new commit is pushed.
118+
dismiss_stale_reviews: true
119+
# Blocks merge until code owners have reviewed.
120+
require_code_owner_reviews: true
121+
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
122+
#dismissal_restrictions:
123+
# users: []
124+
# teams: []
125+
bypass_pull_request_allowances:
126+
#apps:
127+
# - ospo-renovate
128+
users:
129+
#- ospo-renovate
130+
- <user_name>
131+
teams: []
132+
# Required. Require status checks to pass before merging. Set to null to disable
133+
required_status_checks:
134+
# Required. Require branches to be up to date before merging.
135+
strict: true
136+
# Required. The list of status checks to require in order to merge into this branch
137+
contexts:
138+
- "Managed Control Plane Blueprints"
139+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
140+
enforce_admins: false
141+
# Prevent merge commits from being pushed to matching branches
142+
required_linear_history: false
143+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
144+
restrictions: null
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Git PR Status Checks
2+
3+
on:
4+
pull_request: {}
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
pr-status-check:
12+
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main"
13+
secrets: inherit

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
### Helm Chart ###
2+
*Chart.lock
3+
*.tgz
4+
values.local.yaml
5+
/*.txt
6+
/helm-packages/*
7+
/helm-template-*.yaml
8+
helm-charts-templated.yaml
9+
### IntelliJ IDEA ###
10+
out/
11+
!**/src/main/**/out/
12+
!**/src/test/**/out/
13+
### GH Actions currently not needed! ###
14+
.github/actions/*
15+
### Eclipse ###
16+
.apt_generated
17+
.classpath
18+
.factorypath
19+
.project
20+
.settings
21+
.springBeans
22+
.sts4-cache
23+
bin/
24+
!**/src/main/**/bin/
25+
!**/src/test/**/bin/
26+
27+
### NetBeans ###
28+
/nbproject/private/
29+
/nbbuild/
30+
/dist/
31+
/nbdist/
32+
/.nb-gradle/
33+
34+
### VS Code ###
35+
.vscode/
36+
37+
### Mac OS ###
38+
.DS_Store
39+
/.idea/
40+
/ketos-co-helm-charts.iml
41+
42+
**/*/values-credentials.yaml
43+
### OCM ###
44+
helm/umbrella/blueprints/ocm-package-provider-btp-accounts.abc.shoot.live.k8s-hana.ondemand.com/ocm/mvp-ocm-mcp
45+
helm/umbrella/blueprints/migration-test-provider-btp-accounts.abc.shoot.live.k8s-hana.ondemand.com/cis*
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{{/*
2+
This file defines textblocks which are used by multiple README go templates.
3+
Use this command from ./helm/charts/ folder to programatically create README.md for every sub helm chart.
4+
$ helm-docs --template-files=./_templates.gotmpl --template-files=README.md.gotmpl --chart-search-root=.
5+
*/}}
6+
7+
{{ template "chart.valuesSection" . }}
8+
9+
{{ template "helm-docs.versionFooter" . }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{{/*
2+
This file defines textblocks which are used by multiple README go templates.
3+
Use this command from ./helm/charts/ folder to programatically create README.md for every sub helm chart.
4+
$ helm-docs --template-files=./_templates.gotmpl --template-files=README.md.gotmpl --chart-search-root=.
5+
*/}}
6+
7+
{{ define "sap.helm.valuesModificationInfo" -}}
8+
Modify [values.yaml](./values.yaml) file to change any available variable to your needs. It is mandatory to modify at least `domain` variable via values.yaml or `--set domain='...'` during helm chart execution. [See official helm chart template guide...](https://helm.sh/docs/chart_template_guide/values_files/)
9+
{{- end }}
10+
11+
{{ define "sap.classification" -}}
12+
> Classification: INTERNAL
13+
14+
*The keywords "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt).*
15+
{{- end }}
16+
17+
{{ template "chart.header" . }}
18+
{{ template "chart.deprecationWarning" . }}
19+
20+
{{ template "chart.badgesSection" . }}
21+
22+
{{ template "chart.description" . }}
23+
24+
{{ template "chart.homepageLine" . }}
25+
26+
{{ template "chart.maintainersSection" . }}
27+
28+
{{ template "chart.sourcesSection" . }}
29+
30+
{{ template "chart.requirementsSection" . }}

0 commit comments

Comments
 (0)