Skip to content

Commit 7cff170

Browse files
wchomiksk31337
andauthored
feat: multi-values helm chart example (#27)
--------- Co-authored-by: wchomik <[email protected]> Co-authored-by: Steffen <[email protected]> Co-authored-by: sk31337 <[email protected]>
1 parent b007f88 commit 7cff170

File tree

21 files changed

+449
-2
lines changed

21 files changed

+449
-2
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# pipeline feature flags obsolete (Bash Scripts)
2+
jfrog.sh:
3+
enabled: true
4+
5+
# pipeline feature flags
6+
helm-docs:
7+
enable: true
8+
helm-chart-linting:
9+
enable: true
10+
helm-chart-validation:
11+
enable: true
12+
helm-chart-version-bump:
13+
enable: true
14+
helm-chart-dependency-update:
15+
enable: true
16+
k8s-manifest-templating:
17+
enable: true
18+
helm-charts:
19+
additional-manifest-templating: # define this if you want additional helm manifest folder e.g. dev....
20+
- prefix-manifest-folder-name: "dev"
21+
value-files:
22+
- "values.yaml"
23+
- "values.dev.yaml"
24+
- prefix-manifest-folder-name: "test"
25+
value-files:
26+
- "values.yaml"
27+
- "values.test.yaml"

helm/umbrella/blueprints/btp-cf-env-runtime.abc.shoot.live.k8s-hana.ondemand.com/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ icon: "https://avatars.githubusercontent.com/u/2531208?s=200&v=4"
1717
# This is the chart version. This version number should be incremented each time
1818
# you make changes to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.0.26
20+
version: 0.0.27
2121
# This is the version number of the application being deployed. This version
2222
# number should be incremented each time you make changes to the application.
2323
# Versions are not expected to follow Semantic Versioning. They should reflect

helm/umbrella/blueprints/btp-cf-env-runtime.abc.shoot.live.k8s-hana.ondemand.com/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# btp-cf-env-runtime
44

5-
![Version: 0.0.26](https://img.shields.io/badge/Version-0.0.26-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
5+
![Version: 0.0.27](https://img.shields.io/badge/Version-0.0.27-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
66

77
A Umbrealla Helm chart which demonstrate orchestration of SAP BTP Cloud Foundry Environment.
88

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
######################################################################################################################################
3+
external-secrets-config:
4+
secretStores:
5+
- name: "hashicorp-vault"
6+
namespace: "default"
7+
provider:
8+
vault:
9+
server: "https://vault.example/"
10+
namespace: "openmcp/blueprints/dev"
11+
path: "mcps"
12+
version: "v2"
13+
auth:
14+
kubernetes:
15+
mountPath: "k8s-openmcp-blueprints"
16+
role: "k8s-openmcp-role"
17+
secretRef:
18+
name: "vault-tokenreview-service-account"
19+
namespace: "default"
20+
key: "token"
21+
######################################################################################################################################
22+
crossplane-provider-configs:
23+
providerConfigs:
24+
btpSapCrossplane:
25+
- providerConfigRefName: "btp-account-provider-config"
26+
cliServerUrl: "https://cli.dev.btp.cloud.sap"
27+
globalAccountSubDomain: "exmpl"
28+
cisCredentials:
29+
source: "Secret"
30+
secretRef:
31+
namespace: default
32+
name: "btp-account-mcp-blueprints"
33+
key: btp-cis-provider-credentials
34+
serviceAccountSecret:
35+
source: "Secret"
36+
secretRef:
37+
namespace: default
38+
name: "btp-account-mcp-blueprints"
39+
key: btp-service-account-provider-credentials
40+
#########################################################################################################
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
######################################################################################################################################
3+
external-secrets-config:
4+
secretStores:
5+
- name: "hashicorp-vault"
6+
namespace: "default"
7+
provider:
8+
vault:
9+
server: "https://vault.example/"
10+
namespace: "openmcp/blueprints/test"
11+
path: "mcps"
12+
version: "v2"
13+
auth:
14+
kubernetes:
15+
mountPath: "k8s-openmcp-blueprints"
16+
role: "k8s-openmcp-role"
17+
secretRef:
18+
name: "vault-tokenreview-service-account"
19+
namespace: "default"
20+
key: "token"
21+
######################################################################################################################################
22+
crossplane-provider-configs:
23+
providerConfigs:
24+
btpSapCrossplane:
25+
- providerConfigRefName: "btp-account-provider-config"
26+
cliServerUrl: "https://cli.test.btp.cloud.sap"
27+
globalAccountSubDomain: "exmpl"
28+
cisCredentials:
29+
source: "Secret"
30+
secretRef:
31+
namespace: default
32+
name: "btp-account-mcp-blueprints"
33+
key: btp-cis-provider-credentials
34+
serviceAccountSecret:
35+
source: "Secret"
36+
secretRef:
37+
namespace: default
38+
name: "btp-account-mcp-blueprints"
39+
key: btp-service-account-provider-credentials
40+
#########################################################################################################
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
# Source: btp-cf-env-runtime/charts/crossplane-provider-configs/templates/mcp/providerConfigs/btp.sap.crossplane.io.yaml
3+
apiVersion: btp.sap.crossplane.io/v1alpha1
4+
kind: ProviderConfig
5+
metadata:
6+
name: "btp-account-provider-config"
7+
labels:
8+
openmcp.cloud/blueprint-building-block: "crossplane-provider-configs"
9+
openmcp.cloud/blueprint-building-block-version: "0.0.19"
10+
spec:
11+
cliServerUrl: "https://cli.dev.btp.cloud.sap"
12+
globalAccount: "exmpl"
13+
cisCredentials:
14+
secretRef:
15+
key: btp-cis-provider-credentials
16+
name: btp-account-mcp-blueprints
17+
namespace: default
18+
source: Secret
19+
serviceAccountSecret:
20+
secretRef:
21+
key: btp-service-account-provider-credentials
22+
name: btp-account-mcp-blueprints
23+
namespace: default
24+
source: Secret
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# Source: btp-cf-env-runtime/charts/crossplane-provider-sap-btp-account/templates/mcp/btp-accounts/sub-accounts.yaml
3+
apiVersion: account.btp.sap.crossplane.io/v1alpha1
4+
kind: Subaccount
5+
metadata:
6+
name: subaccount1
7+
labels:
8+
openmcp.cloud/blueprint-building-block: "crossplane-provider-sap-btp-account"
9+
openmcp.cloud/blueprint-building-block-version: "0.0.9"
10+
spec:
11+
forProvider:
12+
description: Open Orchestrator Managed Control Plane Blueprint PoC
13+
displayName: exmpl dev eu01
14+
region: eu01
15+
subaccountAdminEmails: []
16+
subdomain: exmpl-dev-eu01
17+
providerConfigRef:
18+
name: "btp-account-provider-config"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Source: btp-cf-env-runtime/charts/crossplane-provider-sap-btp-account/templates/mcp/btp-subscriptions/cloud-management.yaml
3+
apiVersion: account.btp.sap.crossplane.io/v1alpha1
4+
kind: CloudManagement
5+
metadata:
6+
name: subaccount1
7+
labels:
8+
openmcp.cloud/blueprint-building-block: "crossplane-provider-sap-btp-account"
9+
openmcp.cloud/blueprint-building-block-version: "0.0.9"
10+
spec:
11+
providerConfigRef:
12+
name: btp-account-provider-config
13+
forProvider:
14+
serviceManagerRef:
15+
name: subaccount1
16+
subaccountRef:
17+
name: subaccount1
18+
writeConnectionSecretToRef:
19+
name: cis-btp-account-provider-config-subaccount1
20+
namespace: default
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# Source: btp-cf-env-runtime/charts/crossplane-provider-sap-btp-account/templates/mcp/btp-subscriptions/entitlements.yaml
3+
apiVersion: account.btp.sap.crossplane.io/v1alpha1
4+
kind: Entitlement
5+
metadata:
6+
name: cis-local
7+
labels:
8+
openmcp.cloud/blueprint-building-block: "crossplane-provider-sap-btp-account"
9+
openmcp.cloud/blueprint-building-block-version: "0.0.9"
10+
spec:
11+
forProvider:
12+
serviceName: cis
13+
servicePlanName: local
14+
enable: true
15+
subaccountRef:
16+
name: subaccount1
17+
providerConfigRef:
18+
name: "btp-account-provider-config"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Source: btp-cf-env-runtime/charts/crossplane-provider-sap-btp-account/templates/mcp/btp-subscriptions/servicemanager.yaml
3+
apiVersion: account.btp.sap.crossplane.io/v1beta1
4+
kind: ServiceManager
5+
metadata:
6+
name: subaccount1
7+
labels:
8+
openmcp.cloud/blueprint-building-block: "crossplane-provider-sap-btp-account"
9+
openmcp.cloud/blueprint-building-block-version: "0.0.9"
10+
spec:
11+
writeConnectionSecretToRef:
12+
# !!! TODO: Make this configurable !!!
13+
name: btp-service-manager-btp-account-provider-config-subaccount1
14+
# !!! TODO: Make this configurable !!!
15+
namespace: default
16+
forProvider:
17+
subaccountRef:
18+
name: subaccount1
19+
providerConfigRef:
20+
name: "btp-account-provider-config"

0 commit comments

Comments
 (0)