Skip to content

Commit 2ced649

Browse files
authored
Merge branch 'main' into dependabot/github_actions/super-linter/super-linter-8
2 parents 0e8a7e1 + 43536d8 commit 2ced649

26 files changed

Lines changed: 7500 additions & 11 deletions
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Lint PR title"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
branches:
10+
- 'main'
11+
- 'develop'
12+
jobs:
13+
lint:
14+
if: ${{ github.head_ref != 'develop' }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Install dependencies
21+
run: npm install @commitlint/cli @commitlint/config-conventional
22+
23+
- name: Validate PR title
24+
run: |
25+
PR_TITLE=$(jq -r '.pull_request.title' "$GITHUB_EVENT_PATH")
26+
echo "$PR_TITLE" | npx commitlint --config commitlint.config.js

.github/workflows/helm-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121

2222
- name: Setup helm
2323
uses: azure/setup-helm@v4

.github/workflows/helm-unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Run make helmlint
2424
run: |

.github/workflows/superlinter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
# Full git history is needed to get a proper list of changed files within `super-linter`
1919
fetch-depth: 0

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ tags
4343
# End of https://www.toptal.com/developers/gitignore/api/helm,vim,linux
4444

4545
.vscode/
46+
node_modules/

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"semi": false
4+
}

.releaserc.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
branches:
2+
- main
3+
plugins:
4+
- "@semantic-release/commit-analyzer"
5+
- "@semantic-release/release-notes-generator"
6+
- - "@semantic-release/exec"
7+
- prepareCmd: "sed -i.bak 's/^version:.*/version: ${nextRelease.version}/' Chart.yaml && rm -f Chart.yaml.bak"
8+
- "@semantic-release/github"
9+
- - "@semantic-release/git"
10+
- assets:
11+
- Chart.yaml
12+
message: "chore(release): ${nextRelease.version} [skip ci]"

Chart.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
apiVersion: v2
2-
description: A Helm chart to serve as the Validated Patterns Template
2+
description: A Helm chart to provide an opinionated deployment of Trustee in a validated pattern
33
keywords:
44
- pattern
5-
name: vp-template
6-
version: 0.0.1
5+
- trustee
6+
- confidential-computing
7+
- confidential-containers
8+
name: trustee
9+
# DO NOT EDIT VERSION HERE, IT IS AUTO-GENERATED BY SEMANTIC-RELEASE
10+
version: 0.0.4

README.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
1-
# vp-template
1+
# trustee
22

3-
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square)
3+
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square)
44

5-
A Helm chart to serve as the Validated Patterns Template
5+
A Helm chart to provide an opinionated deployment of Trustee in a validated pattern
66

7-
This chart is used to serve as the template for Validated Patterns Charts
7+
This chart is intended for use with the [coco-pattern](https://github.com/validatedpatterns/coco-pattern) and other validated patterns.
8+
9+
It is part of three charts that are intended to be used together:
10+
1. [trustee](https://github.com/validatedpatterns/trustee-chart) indended to deploy the Key Broker Service (KBS) and related infrastructure (this chart))
11+
1. This should be deployed on an ACM hub cluster
12+
2. [sandboxed-containers](https://github.com/validatedpatterns/sandboxed-containers-chart) intended to be deployed on an ACM spoke cluster where there is access to confidential hardware
13+
3. [sandboxed-policies](https://github.com/validatedpatterns/sandboxed-policies-chart) intended to be deployed on an ACM hub cluster which pushes polices to the spoke cluster.
14+
15+
In order to use this chart, you will need to:
16+
1. Have a security policy created and available. This is a container security policy that will be used to verify the inside a kata vm.
17+
1. See here for more information: https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.10/html/deploying_red_hat_build_of_trustee/deploying-trustee_azure-trustee#creating-image-verification-policy_azure-trustee
18+
2. Have a public key created and available. This is a public key that will be used to authenticate the KBS management API.
19+
3. Have a list of secret resources to be added to the KBS as a list of name, key pairs where key is the path to the secret in the secret store. These will be used to authenticate the KBS management API.
820

921
### Notable changes
1022

23+
## Values
24+
25+
| Key | Type | Default | Description |
26+
|-----|------|---------|-------------|
27+
| global.secretStore.backend | string | `""` | |
28+
| kbs.publicKey | string | `"secret/data/hub/kbsPublicKey"` | |
29+
| kbs.secretResources | list | `[]` | |
30+
| kbs.securityPolicy | string | `"secret/data/hub/securityPolicyConfig"` | |
31+
| secretStore.kind | string | `""` | |
32+
| secretStore.name | string | `""` | |
33+
1134
----------------------------------------------
1235
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

README.md.gotmpl

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,20 @@
55

66
{{ template "chart.description" . }}
77

8-
This chart is used to serve as the template for Validated Patterns Charts
8+
This chart is intended for use with the [coco-pattern](https://github.com/validatedpatterns/coco-pattern) and other validated patterns.
9+
10+
It is part of three charts that are intended to be used together:
11+
1. [trustee](https://github.com/validatedpatterns/trustee-chart) indended to deploy the Key Broker Service (KBS) and related infrastructure (this chart))
12+
1. This should be deployed on an ACM hub cluster
13+
2. [sandboxed-containers](https://github.com/validatedpatterns/sandboxed-containers-chart) intended to be deployed on an ACM spoke cluster where there is access to confidential hardware
14+
3. [sandboxed-policies](https://github.com/validatedpatterns/sandboxed-policies-chart) intended to be deployed on an ACM hub cluster which pushes polices to the spoke cluster.
15+
16+
In order to use this chart, you will need to:
17+
1. Have a security policy created and available. This is a container security policy that will be used to verify the inside a kata vm.
18+
1. See here for more information: https://docs.redhat.com/en/documentation/openshift_sandboxed_containers/1.10/html/deploying_red_hat_build_of_trustee/deploying-trustee_azure-trustee#creating-image-verification-policy_azure-trustee
19+
2. Have a public key created and available. This is a public key that will be used to authenticate the KBS management API.
20+
3. Have a list of secret resources to be added to the KBS as a list of name, key pairs where key is the path to the secret in the secret store. These will be used to authenticate the KBS management API.
21+
922

1023
### Notable changes
1124

0 commit comments

Comments
 (0)