Compare commits

..

No commits in common. "a2b6ebd7cf7661f447941b6c8cf83acb212b0542" and "200ab8284b06e781b13908ccb1d8587e82abe246" have entirely different histories.

6 changed files with 0 additions and 115 deletions

View file

@ -1,4 +0,0 @@
apiVersion: v2
name: maidn-e2e-angular
description: Static Angular E2E fixture
version: 0.1.0

View file

@ -1,46 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: maidn-e2e-angular
labels:
app: maidn-e2e-angular
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: maidn-e2e-angular
template:
metadata:
labels:
app: maidn-e2e-angular
spec:
volumes:
- name: static-assets
emptyDir: {}
initContainers:
- name: copy-assets
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- /bin/sh
- -c
- cp -a /www/target/. /work/
volumeMounts:
- name: static-assets
mountPath: /work
containers:
- name: nginx
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
volumeMounts:
- name: static-assets
mountPath: /usr/share/nginx/html
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- range . }}
- name: {{ quote . }}
{{- end }}
{{- end }}

View file

@ -1,20 +0,0 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: forgejo-registry-credentials
spec:
secretStoreRef:
kind: ClusterSecretStore
name: openbao
target:
name: forgejo-registry-credentials
creationPolicy: Owner
template:
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: "{{ `{{ .dockerconfigjson }}` }}"
data:
- secretKey: dockerconfigjson
remoteRef:
key: cicd/forgejo-registry
property: dockerconfigjson

View file

@ -1,17 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: maidn-e2e-angular
spec:
parentRefs:
- name: {{ .Values.gateway.name }}
namespace: {{ .Values.gateway.namespace }}
sectionName: http
{{- with .Values.gateway.hostname }}
hostnames:
- {{ . | quote }}
{{- end }}
rules:
- backendRefs:
- name: maidn-e2e-angular
port: 80

View file

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: maidn-e2e-angular
labels:
app: maidn-e2e-angular
spec:
type: ClusterIP
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
selector:
app: maidn-e2e-angular

View file

@ -1,13 +0,0 @@
replicaCount: 1
image:
repository: ""
tag: dev
pullPolicy: IfNotPresent
imagePullSecrets:
- forgejo-registry-credentials
gateway:
name: public
namespace: gateway-system
hostname: ""