Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
d9791b2
wip
punkwalker Jun 3, 2025
401b45e
wip
punkwalker Jun 3, 2025
1dda815
add external-dns addon
punkwalker Jun 3, 2025
48a0e73
add cert-manager and argocd ingress
punkwalker Jun 3, 2025
74af5b7
disable redis for argocd
punkwalker Jun 3, 2025
ce0fb32
enable redis for argocd
punkwalker Jun 3, 2025
5e4d49b
add letsencrypt ClusterIssuer for cert-manager
punkwalker Jun 3, 2025
12d47d4
specify ingress specific values for argocd
punkwalker Jun 3, 2025
7818dbe
add keycloak addon
punkwalker Jun 4, 2025
ce22be5
refactor hub addons from Apps to AppSet
punkwalker Jun 5, 2025
2a61636
move github token externalsecret to argocd manifests
punkwalker Jun 6, 2025
0303b01
match ServerSideApply on github-token external secret
punkwalker Jun 6, 2025
2e29ed2
match argocd and external secret to AppSets
punkwalker Jun 6, 2025
63fcf4c
add keycloak addon
punkwalker Jun 6, 2025
a5e42cd
update ExternalSecrets to avoid Diffs
punkwalker Jun 6, 2025
f64bd3e
add keycloak config job to create users
punkwalker Jun 7, 2025
14ed10e
add argocd keycloak sso config job
punkwalker Jun 8, 2025
884d6cb
add backstage addon
punkwalker Jun 10, 2025
6a0fe7d
fix dataFromn extraction of backstage postres password
punkwalker Jun 10, 2025
37b0adf
fix dataFromn extraction of backstage postres password
punkwalker Jun 10, 2025
e472ed5
fix dataFromn extraction of backstage postres password
punkwalker Jun 10, 2025
9d75d97
fix backstage postgres sts
punkwalker Jun 10, 2025
6a9245c
fix backstage app config
punkwalker Jun 10, 2025
12cc78c
fix backstage env vars secret
punkwalker Jun 10, 2025
0d230d6
fix backstage db config
punkwalker Jun 10, 2025
d05a342
fix backstage argo workflow URL
punkwalker Jun 10, 2025
5f9661c
fix backstage rback template
punkwalker Jun 10, 2025
c23141a
add backstage ingress
punkwalker Jun 10, 2025
5604b73
add backstage ingress
punkwalker Jun 10, 2025
41f754f
update uninstall.sh
punkwalker Jun 10, 2025
f25effc
move backstage PVC to sts
punkwalker Jun 10, 2025
7beeda4
move backstage PVC to sts
punkwalker Jun 10, 2025
81dd746
restucture directories
punkwalker Jun 10, 2025
960ba6f
add keycloak password generation using eso
punkwalker Jun 11, 2025
ca65b91
fix keycloak external secret
punkwalker Jun 11, 2025
6249c1e
fix keycloak external secret
punkwalker Jun 11, 2025
b8a4859
fix keycloak external secret
punkwalker Jun 11, 2025
777f128
fix keycloak external secret
punkwalker Jun 11, 2025
f310e41
fix keycloak external secret
punkwalker Jun 11, 2025
d852a27
fix keycloak external secret
punkwalker Jun 11, 2025
c834184
fix backstage github integration secret
punkwalker Jun 11, 2025
e1c4fe3
fix backstage github integration secret
punkwalker Jun 11, 2025
c326f9b
disable argocd dex server
punkwalker Jun 11, 2025
18b873a
refactor install and uninstall script
punkwalker Jun 11, 2025
6ff47de
fix keycloak user password
punkwalker Jun 11, 2025
d0ea903
add argo workflows addon
punkwalker Jun 12, 2025
65859cd
fix cluster secret annotations
punkwalker Jun 12, 2025
863d407
fix cluster secret annotations
punkwalker Jun 12, 2025
09f8e21
fix argo workflow ingress
punkwalker Jun 12, 2025
6602ab4
fix argo workflow oidc config
punkwalker Jun 12, 2025
a79b6db
fix argo workflow oidc config
punkwalker Jun 12, 2025
7327591
add argo workflows admin rbac
punkwalker Jun 12, 2025
7005956
fix argo workflow external secret
punkwalker Jun 12, 2025
964d4c6
enable keycloak backchannel
punkwalker Jun 12, 2025
0bcc0e5
disable keycloak backchannel
punkwalker Jun 12, 2025
fbbfb47
set up order in keycloak resources
punkwalker Jun 12, 2025
e34141b
refactor appset chart deployment logic
punkwalker Jun 12, 2025
f5ea639
remove namespace resource from backstage chart
punkwalker Jun 12, 2025
c2aa344
enable preserveResourcesOnDeletion on AppSets
punkwalker Jun 12, 2025
a82cb2c
enable pathRouting option
punkwalker Jun 13, 2025
635b606
fix addon values file
punkwalker Jun 13, 2025
511704c
fix appset chart indent and addons values
punkwalker Jun 13, 2025
3fcf81a
fix ingress-nginx values
punkwalker Jun 13, 2025
86bb32f
fix ingress-nginx values
punkwalker Jun 13, 2025
1e4eb0c
fix ingress-nginx values
punkwalker Jun 13, 2025
d1759ce
fix annotations map for ingresses
punkwalker Jun 13, 2025
a06f7b3
add external-dns service annotation on ingress-nginx
punkwalker Jun 13, 2025
df7aa16
refactor bootstrapping logic
punkwalker Jun 16, 2025
b873cd4
refactor bootstrapping logic
punkwalker Jun 16, 2025
052269a
support path-routing on argocd
punkwalker Jun 17, 2025
f92b374
support path-routing on argocd
punkwalker Jun 17, 2025
2ce1768
support path-routing on argocd
punkwalker Jun 17, 2025
9893cba
support path-routing on argocd
punkwalker Jun 17, 2025
d9c8beb
fix appset chart
punkwalker Jun 17, 2025
29e459e
fix appset chart
punkwalker Jun 17, 2025
a62c12b
fix appset chart
punkwalker Jun 17, 2025
7c10ef7
fix appset chart
punkwalker Jun 17, 2025
01d3200
fix argo-cd-path-routing
punkwalker Jun 17, 2025
cf18ba8
fix cert-manager addon for path routing
punkwalker Jun 17, 2025
31b15d8
delay ingress creation for argocd until default cert is provisioned
punkwalker Jun 17, 2025
e8c3d31
fix argocd valuesObject
punkwalker Jun 17, 2025
1529c52
fix argocd valuesObject
punkwalker Jun 17, 2025
f0fa842
fix argocd valuesObject
punkwalker Jun 17, 2025
ae09b3a
fix argocd valuesObject
punkwalker Jun 17, 2025
c9149f0
refactor bootstrapping logic
punkwalker Jun 17, 2025
db900e0
refactor keycloak addon for path routing
punkwalker Jun 17, 2025
34cfc9d
fix keyloak internal url
punkwalker Jun 17, 2025
0345b02
fix keyloak internal url
punkwalker Jun 17, 2025
968ac4e
fix keyloak sso config job
punkwalker Jun 17, 2025
02a304a
fix argocd internal url in keycloak sso job
punkwalker Jun 17, 2025
be12896
refactor argocd oidc config
punkwalker Jun 17, 2025
0009741
refactor backstage addon for path routing
punkwalker Jun 17, 2025
42196f1
add sync wave to nginx service
punkwalker Jun 18, 2025
d7ca8ec
fix backstage ingress values
punkwalker Jun 18, 2025
173d031
fix backstage chart
punkwalker Jun 18, 2025
2b57258
support relative path on backstage
punkwalker Jun 18, 2025
037988a
support relative path on backstage
punkwalker Jun 18, 2025
0bdee0a
support relative path on backstage
punkwalker Jun 18, 2025
2ebe7f0
support relative path on backstage
punkwalker Jun 18, 2025
c399c2b
support relative path on backstage
punkwalker Jun 18, 2025
3306b88
support relative path on backstage
punkwalker Jun 18, 2025
4e07b83
update backstage image
punkwalker Jun 18, 2025
f865030
update backstage image
punkwalker Jun 18, 2025
622df4c
fix backstage keycloak integration
punkwalker Jun 18, 2025
dbeba30
fix backstage argocd integration
punkwalker Jun 18, 2025
4e42f47
fix backstage frontend URL
punkwalker Jun 18, 2025
ed23c5b
fix keycloak redirect url for backstage
punkwalker Jun 18, 2025
2363468
support relative path on argo workflows
punkwalker Jun 18, 2025
699238a
change external dns policy to sync to ensure it can add/remove records
punkwalker Jun 19, 2025
ca61e44
add crossplane addon
punkwalker Jun 19, 2025
7a4a322
fix keycloak cert namespace
punkwalker Jun 19, 2025
3160b94
remove enable-environment-configs flag from crossplane
punkwalker Jun 19, 2025
4478d54
restructure crossplane directory
punkwalker Jun 19, 2025
c8cddb9
add commonAnnotations to kustomization for xrd in crossplane addon
punkwalker Jun 19, 2025
d82890e
remove reduntant directories
punkwalker Jun 19, 2025
d58b989
fix backstage app config keycloak config
punkwalker Jun 19, 2025
4787635
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
4f7b128
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
4e45233
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
f628b81
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
4b2fef0
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
51cfc72
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
96a874f
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
8b5e79b
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
ae58d30
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
5847a2d
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
febbc4b
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
6bc18f9
fix argo workflows ingress for path routing
punkwalker Jun 19, 2025
142a6b3
make argocd install all resources from packages/crossplane/manifests …
punkwalker Jun 19, 2025
39337f7
make argocd install all resources from packages/crossplane/manifests …
punkwalker Jun 19, 2025
9a9e5a3
fix crossplane aws DeploymentRuntimeConfig
punkwalker Jun 19, 2025
856144d
fix crossplane aws DeploymentRuntimeConfig selector
punkwalker Jun 19, 2025
11a5c99
fix crossplane aws DeploymentRuntimeConfig selector
punkwalker Jun 19, 2025
88adb0d
fix provider-aws-s3 runtimeConfigRef
punkwalker Jun 19, 2025
1c62a50
specify serviceAccountName in DeploymentRuntimeConfig for crossplane …
punkwalker Jun 19, 2025
0415849
add generic ServiceAccount for provider-aws
punkwalker Jun 19, 2025
36f2085
fix generic ServiceAccount for provider-aws
punkwalker Jun 20, 2025
564420a
remove sync wave from crossplane custom manifests
punkwalker Jun 20, 2025
b83ba60
add sync wave from crossplane custom manifests
punkwalker Jun 20, 2025
c877806
remove crossplane custom manifests
punkwalker Jun 20, 2025
7d2a0a4
change password constraints for keycloak user
punkwalker Jun 20, 2025
dc9a555
add crossplane provider chart and refactor crossplane compositions
punkwalker Jun 23, 2025
e143d44
move cluster issuer to cert-manager extraObjects in helm values file
punkwalker Jun 23, 2025
1f46ccb
clean values.yamls of addons
punkwalker Jun 23, 2025
2a9a060
clean values.yamls of addons
punkwalker Jun 23, 2025
09940f0
remove selectors from addons
punkwalker Jun 23, 2025
4d520ac
fix AWS LBC Cluster name substitution
punkwalker Jun 23, 2025
89f8cf6
fix Argo Workflow values in AppSet
punkwalker Jun 23, 2025
d8bcd4c
fix crossplane registry url
punkwalker Jun 24, 2025
f8a02c5
refactor addons
punkwalker Jun 24, 2025
5af8122
add webhook url to backstage GH app
punkwalker Jun 24, 2025
ece6c2b
add backstage templates
punkwalker Jun 24, 2025
6a4e88a
fix backstage template location
punkwalker Jun 24, 2025
61e257e
add ARGOCD Password to backstage
punkwalker Jun 24, 2025
285a5af
add GH app for org and fix backstage skeleton
punkwalker Jun 24, 2025
391eeb6
add eksctl cluster creation
punkwalker Jun 24, 2025
a9181de
add eksctl cluster creation for auto mode
punkwalker Jun 24, 2025
bf11489
disable aws lbc for auto mode
punkwalker Jun 24, 2025
1eb4e70
remove reduntant directories
punkwalker Jun 24, 2025
1e2ca5f
remove sync wave from argocd ingress
punkwalker Jun 25, 2025
12a3aea
specify storageclass for keycloak pvc
punkwalker Jun 25, 2025
c6a9e35
specify storageclass for backstage pvc
punkwalker Jun 25, 2025
4cb016f
enable ServerSideDiff for crossplane-compositions
punkwalker Jun 25, 2025
4739bce
enable ServerSideDiff for crossplane-compositions
punkwalker Jun 25, 2025
d3dadb3
add sync wave for argocd ingress
punkwalker Jun 25, 2025
eb74c04
add sync wave for argocd ingress
punkwalker Jun 25, 2025
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
Prev Previous commit
Next Next commit
add backstage templates
Signed-off-by: Pankaj Walke <[email protected]>
  • Loading branch information
punkwalker committed Jun 24, 2025
commit ece6c2bae415cd3793ca6ff0116caa95a38a38a1
2 changes: 1 addition & 1 deletion packages/backstage/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ backstage:
- allow: [Component, System, API, Resource, Location, Template]
locations:
- type: url
target: https://github.com/awslabs/backstage-templates-on-eks/blob/main/catalog-info.yaml
target: https://github.com/punkwalker/reference-implementation-aws/blob/main/templates/backstage/catalog-info.yaml
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
Expand Down
3 changes: 3 additions & 0 deletions templates/backstage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# idpbuilder-localdev-backstage-templates-entities

created by Git Repository controller for backstage-templates-entities in idpbuilder-localdev namespace
48 changes: 48 additions & 0 deletions templates/backstage/app-with-bucket/skeleton/catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: ${{values.name}}-bucket
description: Stores things
annotations:
argocd/app-name: ${{values.name | dump}}
spec:
type: s3-bucket
owner: guests
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: ${{values.name | dump}}
description: This is for testing purposes
annotations:
backstage.io/techdocs-ref: dir:.
backstage.io/kubernetes-label-selector: 'entity-id=${{values.name}}'
backstage.io/kubernetes-namespace: default
argocd/app-name: ${{values.name | dump}}
links:
- url: https://github.com/cnoe-punkwalker/${{values.name}}
title: Repo URL
icon: github
spec:
owner: guests
lifecycle: experimental
type: service
system: ${{values.name | dump}}
dependsOn:
- resource:default/${{values.name}}-bucket
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: ${{values.name | dump}}
description: An example system for demonstration purposes
annotations:
backstage.io/techdocs-ref: dir:.
links:
- url: https://github.com/cnoe-punkwalker/my-reference-implementation-aws
title: CNOE Repo
icon: github
spec:
owner: guests
lifecycle: experimental
type: service
46 changes: 46 additions & 0 deletions templates/backstage/app-with-bucket/skeleton/docs/idpbuilder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[![Codespell][codespell-badge]][codespell-link]
[![E2E][e2e-badge]][e2e-link]
[![Go Report Card][report-badge]][report-link]
[![Commit Activity][commit-activity-badge]][commit-activity-link]

# IDP Builder

Internal development platform binary launcher.

> **WORK IN PROGRESS**: This tool is in a pre-release stage and is under active development.

## About

Spin up a complete internal developer platform using industry standard technologies like Kubernetes, Argo, and backstage with only Docker required as a dependency.

This can be useful in several ways:
* Create a single binary which can demonstrate an IDP reference implementation.
* Use within CI to perform integration testing.
* Use as a local development environment for platform engineers.

## Getting Started

Checkout our [documentation website](https://cnoe.io/docs/reference-implementation/installations/idpbuilder) for getting started with idpbuilder.

## Community

- If you have questions or concerns about this tool, please feel free to reach out to us on the [CNCF Slack Channel](https://cloud-native.slack.com/archives/C05TN9WFN5S).
- You can also join our community meetings to meet the team and ask any questions. Checkout [this calendar](https://calendar.google.com/calendar/embed?src=064a2adfce866ccb02e61663a09f99147f22f06374e7a8994066bdc81e066986%40group.calendar.google.com&ctz=America%2FLos_Angeles) for more information.

## Contribution

Checkout the [contribution doc](./CONTRIBUTING.md) for contribution guidelines and more information on how to set up your local environment.


<!-- JUST BADGES & LINKS -->
[codespell-badge]: https://github.com/cnoe-io/idpbuilder/actions/workflows/codespell.yaml/badge.svg
[codespell-link]: https://github.com/cnoe-io/idpbuilder/actions/workflows/codespell.yaml

[e2e-badge]: https://github.com/cnoe-io/idpbuilder/actions/workflows/e2e.yaml/badge.svg
[e2e-link]: https://github.com/cnoe-io/idpbuilder/actions/workflows/e2e.yaml

[report-badge]: https://goreportcard.com/badge/github.com/cnoe-io/idpbuilder
[report-link]: https://goreportcard.com/report/github.com/cnoe-io/idpbuilder

[commit-activity-badge]: https://img.shields.io/github.amrom.workers.devmit-activity/m/cnoe-io/idpbuilder
[commit-activity-link]: https://github.com/cnoe-io/idpbuilder/pulse
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions templates/backstage/app-with-bucket/skeleton/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
![cnoe logo](./images/cnoe-logo.png)

# Example Basic Application

Thanks for trying out this demo! In this example, we deployed a simple application with a S3 bucket using Crossplane.


### idpbuilder

Checkout the idpbuilder website: https://cnoe.io/docs/reference-implementation/installations/idpbuilder

Checkout the idpbuilder repository: https://github.com/cnoe-io/idpbuilder

## Crossplane

Checkout the Crossplane website: https://www.crossplane.io/
3 changes: 3 additions & 0 deletions templates/backstage/app-with-bucket/skeleton/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module ${{ values.name }}

go 1.19
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ${{ values.name }}-custom
data:
index.html: |
<!DOCTYPE html>
<html>
<head>
<title>Welcome to ${{ values.name }}</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
}
.container {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
color: #2c3e50;
font-size: 2.5em;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}
.card {
width: 80%;
max-width: 800px;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
text-align: center;
margin: 20px 0;
}
img {
max-width: 100%;
height: auto;
}
.env-card {
width: 80%;
max-width: 800px;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin: 20px 0;
}
.env-item {
padding: 10px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.env-label {
font-weight: bold;
color: #2c3e50;
margin-right: 20px;
flex: 0 0 30%;
}
.env-value {
color: #16a085;
flex: 1;
word-break: break-all;
}
#loading {
text-align: center;
padding: 20px;
}
.search-box {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<img src="https://raw.githubusercontent.com/cnoe-io/website/main/static/img/logo.png"
alt="CNOE Logo"
width="500">
<h1 style="font-size: 2.8em; color: #2c3e50; text-align: center; margin: 30px 0; font-weight: 600; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">Welcome to ${{ values.name }} </h1>
<p style="font-size: 1.4em; font-weight: 500; color: #34495e; margin: 20px 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">This is a sample application for CNOE reference implementation!</p>
<p style="font-size: 1.2em; color: #2c3e50; margin: 10px 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">Learn more at <a href="https://cnoe.io" target="_blank" style="color: #3498db; text-decoration: none; font-weight: 600;">cnoe.io</a>.</p>
</div>
<div class="env-card">
<input type="text" class="search-box" id="searchBox" placeholder="Search environment variables...">
<div id="loading">Loading environment variables...</div>
<div id="envList"></div>
</div>
</div>
<script>
async function loadEnvVariables() {
try {
const response = await fetch('/env.json');
const envVars = await response.json();
const envList = document.getElementById('envList');
const loading = document.getElementById('loading');
loading.style.display = 'none';

const searchBox = document.getElementById('searchBox');

function displayEnvVars(filter = '') {
envList.innerHTML = '';
const sortedVars = Object.keys(envVars).sort();

sortedVars.forEach(key => {
if (key.toLowerCase().includes(filter.toLowerCase()) ||
envVars[key].toLowerCase().includes(filter.toLowerCase())) {
const item = document.createElement('div');
item.className = 'env-item';
item.innerHTML = `
<span class="env-label">${key}</span>
<span class="env-value">${envVars[key]}</span>
`;
envList.appendChild(item);
}
});
}

searchBox.addEventListener('input', (e) => {
displayEnvVars(e.target.value);
});

displayEnvVars();
} catch (error) {
document.getElementById('loading').innerHTML = 'Error loading environment variables';
console.error('Error:', error);
}
}

window.onload = loadEnvVariables;
</script>
</body>
</html>
startup.sh: |
#!/bin/bash
(
echo -n "{"
first=true
env | sort | while IFS= read -r line; do
# Skip empty lines
[ -z "$line" ] && continue

# Split on first = only
key="${line%%=*}"
value="${line#*=}"

# Skip if key is empty
[ -z "$key" ] && continue

# Add comma for all but first entry
if $first; then
first=false
printf "\n "
else
printf ",\n "
fi

# Properly escape JSON special characters
escaped_value=$(printf '%s' "$value" | sed 's/\\/\\\\/g; s/"/\\"/g; s/\n/\\n/g; s/\r/\\r/g; s/\t/\\t/g')
printf '"%s": "%s"' "$key" "$escaped_value"
done
printf "\n}\n"
) > /tmp/env.json

nginx -g "daemon off;"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ${{ values.name }}-nginx-conf
data:
nginx.conf: |
server {
listen 80;
server_name localhost;

location / {
root /usr/share/nginx/html;
index index.html;
}

location /env.json {
alias /tmp/env.json;
default_type application/json;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resources:
- nginx.yaml
- cm-nginx.yaml
- ${{ values.name }}.yaml
Loading