Skip to content

Commit a527a65

Browse files
add some more cases
1 parent 7e12606 commit a527a65

File tree

6 files changed

+96
-0
lines changed

6 files changed

+96
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: deployments.plural.sh/v1alpha1
2+
kind: ServiceDeployment
3+
metadata:
4+
name: cert-http01
5+
spec:
6+
namespace: cert-http01
7+
git:
8+
ref: main
9+
folder: helm
10+
helm:
11+
chart: stateless
12+
version: x.x.x
13+
url: https://pluralsh.github.io/bootstrap
14+
valuesFiles:
15+
- cert-http01.yaml
16+
repositoryRef:
17+
name: sre-bench
18+
namespace: sre-bench
19+
clusterRef:
20+
name: test
21+
namespace: sre-bench
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: deployments.plural.sh/v1alpha1
2+
kind: ServiceDeployment
3+
metadata:
4+
name: cert-r53
5+
spec:
6+
namespace: cert-r53
7+
git:
8+
ref: main
9+
folder: helm
10+
helm:
11+
chart: stateless
12+
version: x.x.x
13+
url: https://pluralsh.github.io/bootstrap
14+
valuesFiles:
15+
- cert-r53.yaml
16+
repositoryRef:
17+
name: sre-bench
18+
namespace: sre-bench
19+
clusterRef:
20+
name: test
21+
namespace: sre-bench
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: deployments.plural.sh/v1alpha1
2+
kind: ServiceDeployment
3+
metadata:
4+
name: nginx-test-3
5+
spec:
6+
namespace: nginx-test-3
7+
git:
8+
ref: main
9+
folder: helm
10+
helm:
11+
chart: stateless
12+
version: x.x.x
13+
url: https://pluralsh.github.io/bootstrap
14+
valuesFiles:
15+
- nginx.yaml
16+
repositoryRef:
17+
name: sre-bench
18+
namespace: sre-bench
19+
clusterRef:
20+
name: test
21+
namespace: sre-bench

helm/cert-http01.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ingress:
2+
enabled: true
3+
className: nginx-internal
4+
annotations:
5+
kubernetes.io/tls-acme: "true"
6+
cert-manager.io/cluster-issuer: letsencrypt-prod
7+
hosts:
8+
- host: sre-bench.dev.plural.sh
9+
paths:
10+
- path: /
11+
pathType: ImplementationSpecific
12+
tls:
13+
- secretName: sre-bench-tls
14+
hosts:
15+
- sre-bench.dev.plural.sh

helm/cert-r53.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ingress:
2+
enabled: true
3+
className: nginx
4+
annotations:
5+
kubernetes.io/tls-acme: "true"
6+
cert-manager.io/cluster-issuer: letsencrypt-prod
7+
hosts:
8+
- host: sre-bench.stage.plural.sh
9+
paths:
10+
- path: /
11+
pathType: ImplementationSpecific
12+
tls:
13+
- secretName: sre-bench-tls
14+
hosts:
15+
- sre-bench.stage.plural.sh

helm/nginx.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
image:
2+
repository: nginx
3+
tag: 3.2.11

0 commit comments

Comments
 (0)