Skip to content

feat: Testing multi-values helm charts #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/git-pr-status-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ permissions:

jobs:
pr-status-check:
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main"
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@feat/multi-values"
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# pipeline feature flags obsolete (Bash Scripts)
jfrog.sh:
enabled: true

# pipeline feature flags
helm-docs:
enable: true
helm-chart-linting:
enable: true
helm-chart-validation:
enable: true
helm-chart-version-bump:
enable: true
helm-chart-dependency-update:
enable: true
k8s-manifest-templating:
enable: true
helm-charts:
default-manifest-templating: true # disables stanard helm mainfest templating
additional-manifest-templating: # define this if you want additional helm manifest folder e.g. dev....
- prefix-manifest-folder-name: "dev"
value-files:
- "values.network.yaml"
- "values.dev.yaml"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ icon: "https://avatars.githubusercontent.com/u/2531208?s=200&v=4"
# This is the chart version. This version number should be incremented each time
# you make changes to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.25
version: 0.0.26
# This is the version number of the application being deployed. This version
# number should be incremented each time you make changes to the application.
# Versions are not expected to follow Semantic Versioning. They should reflect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# btp-cf-env-runtime

![Version: 0.0.25](https://img.shields.io/badge/Version-0.0.25-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)
![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)

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

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
######################################################################################################################################
tags: # see ./Chart.yaml @url: https://helm.sh/docs/topics/charts/#tags-and-condition-fields-in-dependencies
external-secrets-config: true
crossplane-provider-configs: true
crossplane-provider-sap-btp-account: true
crossplane-provider-sap-btp-environment: true
######################################################################################################################################
external-secrets-config:
secretStores:
- name: "hashicorp-vault"
namespace: "default"
provider:
vault:
server: "https://vault.example/"
namespace: "openmcp/blueprints"
path: "mcps"
version: "v2"
auth:
kubernetes:
mountPath: "k8s-openmcp-blueprints"
role: "k8s-openmcp-role"
secretRef:
name: "vault-tokenreview-service-account"
namespace: "default"
key: "token"
externalSecret:
- name: "btp-account-mcp-blueprints"
namespace: "default"
refreshInterval: "15m"
targetSecretName: "btp-account-credentials"
secretStore:
name: "hashicorp-vault"
data:
- secretKey: btp-cis-provider-credentials
remoteRef:
key: "btp-endpoint.example/btp-account"
property: btp-cis-provider-credentials
- secretKey: btp-service-account-provider-credentials
remoteRef:
key: "btp-endpoint.example/btp-account"
property: btp-service-account-provider-credentials
######################################################################################################################################
crossplane-provider-configs:
providerConfigs:
btpSapCrossplane:
- providerConfigRefName: "btp-account-provider-config"
globalAccountSubDomain: "exmpl"
cliServerUrl: "https://cli.btp.cloud.sap"
cisCredentials:
source: "Secret"
secretRef:
namespace: default
name: "btp-account-mcp-blueprints"
key: btp-cis-provider-credentials
serviceAccountSecret:
source: "Secret"
secretRef:
namespace: default
name: "btp-account-mcp-blueprints"
key: btp-service-account-provider-credentials
#########################################################################################################
crossplane-provider-sap-btp-account:
cfAdminEmails: &cfAdminEmails []
subaccountAdminEmails: &subaccountAdminEmails []
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
btpEntitlements: &btpEntitlements
- name: "cis-local"
serviceName: cis
servicePlanName: local
permitNumericQuota: false
amount: 1
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
accounts:
- btpSapCrossplaneProviderConfigRefName: "btp-account-provider-config"
#-------------------------------------------------------------------------------------------------------------------------#
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
subAccounts:
#-------------------------------------------------------------------------------------------------------------------------#
- name: "subAccount1"
forProvider:
displayName: "exmpl dev eu01"
description: "Open Orchestrator Managed Control Plane Blueprint PoC"
subdomain: "exmpl-dev-eu01"
region: "eu01"
subaccountAdminEmails: *subaccountAdminEmails
entitlements: *btpEntitlements
services:
serviceManager: true
cloudManagement: true
#-------------------------------------------------------------------------------------------------------------------------#
#########################################################################################################
crossplane-provider-sap-btp-environment:
cloudFoundryEnvironments:
- btpSapCrossplaneProviderConfigRefName: "btp-account-provider-config"
name: "test"
forProvider:
initialOrgManagers: *cfAdminEmails
landscape: "eu01"
cloudManagementRef:
name: "dev-eu01"
subaccountRef:
name: "dev-eu01"
#########################################################################################################
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
######################################################################################################################################
tags: # see ./Chart.yaml @url: https://helm.sh/docs/topics/charts/#tags-and-condition-fields-in-dependencies
external-secrets-config: true
crossplane-provider-configs: true
crossplane-provider-sap-btp-account: true
crossplane-provider-sap-btp-environment: true
######################################################################################################################################
external-secrets-config:
secretStores:
- name: "hashicorp-vault"
namespace: "default"
provider:
vault:
server: "https://vault.example/"
namespace: "openmcp/blueprints"
path: "mcps"
version: "v2"
auth:
kubernetes:
mountPath: "k8s-openmcp-blueprints"
role: "k8s-openmcp-role"
secretRef:
name: "vault-tokenreview-service-account"
namespace: "default"
key: "token"
externalSecret:
- name: "btp-account-mcp-blueprints"
namespace: "default"
refreshInterval: "15m"
targetSecretName: "btp-account-credentials"
secretStore:
name: "hashicorp-vault"
data:
- secretKey: btp-cis-provider-credentials
remoteRef:
key: "btp-endpoint.example/btp-account"
property: btp-cis-provider-credentials
- secretKey: btp-service-account-provider-credentials
remoteRef:
key: "btp-endpoint.example/btp-account"
property: btp-service-account-provider-credentials
######################################################################################################################################
crossplane-provider-configs:
providerConfigs:
btpSapCrossplane:
- providerConfigRefName: "btp-account-provider-config"
globalAccountSubDomain: "exmpl"
cliServerUrl: "https://cli.btp.cloud.sap"
cisCredentials:
source: "Secret"
secretRef:
namespace: default
name: "btp-account-mcp-blueprints"
key: btp-cis-provider-credentials
serviceAccountSecret:
source: "Secret"
secretRef:
namespace: default
name: "btp-account-mcp-blueprints"
key: btp-service-account-provider-credentials
#########################################################################################################
crossplane-provider-sap-btp-account:
cfAdminEmails: &cfAdminEmails []
subaccountAdminEmails: &subaccountAdminEmails []
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
btpEntitlements: &btpEntitlements
- name: "cis-local"
serviceName: cis
servicePlanName: local
permitNumericQuota: false
amount: 1
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
accounts:
- btpSapCrossplaneProviderConfigRefName: "btp-account-provider-config"
#-------------------------------------------------------------------------------------------------------------------------#
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
subAccounts:
#-------------------------------------------------------------------------------------------------------------------------#
- name: "subAccount1"
forProvider:
displayName: "exmpl dev eu01"
description: "Open Orchestrator Managed Control Plane Blueprint PoC"
subdomain: "exmpl-dev-eu01"
region: "eu01"
subaccountAdminEmails: *subaccountAdminEmails
entitlements: *btpEntitlements
services:
serviceManager: true
cloudManagement: true
#-------------------------------------------------------------------------------------------------------------------------#
#########################################################################################################
crossplane-provider-sap-btp-environment:
cloudFoundryEnvironments:
- btpSapCrossplaneProviderConfigRefName: "btp-account-provider-config"
name: "test"
forProvider:
initialOrgManagers: *cfAdminEmails
landscape: "eu01"
cloudManagementRef:
name: "dev-eu01"
subaccountRef:
name: "dev-eu01"
#########################################################################################################

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading