Initial commit.

This commit is contained in:
2025-10-11 17:25:46 +00:00
commit db621755b3
123 changed files with 5066 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: example-admin
namespace: example-admin
labels:
app: example-admin
spec:
replicas: 1
selector:
matchLabels:
app: example-admin
template:
metadata:
labels:
app: example-admin
spec:
containers:
- name: example-admin
image: nginx:latest
imagePullPolicy: Always
ports:
- containerPort: 80
resources:
limits:
cpu: 500m
memory: 50Mi
requests:
cpu: 100m
memory: 10Mi
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5

View File

@@ -0,0 +1,22 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-admin
namespace: example-admin
spec:
rules:
- host: example-admin.{{ .cloud.internalDomain }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: example-admin
port:
number: 80
tls:
- hosts:
- example-admin.{{ .cloud.internalDomain }}
secretName: wildcard-internal-wild-cloud-tls

View File

@@ -0,0 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: example-admin
labels:
- includeSelectors: true
pairs:
app: example-admin
managedBy: kustomize
partOf: wild-cloud
resources:
- namespace.yaml
- deployment.yaml
- ingress.yaml
- service.yaml

View File

@@ -0,0 +1,6 @@
name: example-admin
install: true
description: An example application that is deployed with internal-only access.
version: 1.0.0
defaultConfig:
tlsSecretName: wildcard-internal-wild-cloud-tls

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: example-admin

View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: Service
metadata:
name: example-admin
namespace: example-admin
labels:
app: example-admin
spec:
selector:
app: example-admin
ports:
- port: 80
targetPort: 80
name: http