chore: Add echo-internal.laurivan.com to make sure the internal sites are accessible.
This commit is contained in:
72
kubernetes/apps/default/echo-internal/app/helmrelease.yaml
Normal file
72
kubernetes/apps/default/echo-internal/app/helmrelease.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: echo-internal
|
||||
spec:
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: echo
|
||||
namespace: default
|
||||
interval: 1h
|
||||
values:
|
||||
controllers:
|
||||
echo-internal:
|
||||
strategy: RollingUpdate
|
||||
containers:
|
||||
app:
|
||||
image:
|
||||
repository: ghcr.io/mendhak/http-https-echo
|
||||
tag: 39
|
||||
env:
|
||||
HTTP_PORT: &port 80
|
||||
LOG_WITHOUT_NEWLINE: true
|
||||
LOG_IGNORE_PATH: /healthz
|
||||
PROMETHEUS_ENABLED: true
|
||||
probes:
|
||||
liveness: &probes
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: *port
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
readiness: *probes
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
capabilities: { drop: ["ALL"] }
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
limits:
|
||||
memory: 64Mi
|
||||
defaultPodOptions:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65534
|
||||
runAsGroup: 65534
|
||||
service:
|
||||
app:
|
||||
ports:
|
||||
http:
|
||||
port: *port
|
||||
serviceMonitor:
|
||||
app:
|
||||
endpoints:
|
||||
- port: http
|
||||
route:
|
||||
app:
|
||||
hostnames: ["echo-internal.${SECRET_DOMAIN}"]
|
||||
parentRefs:
|
||||
- name: envoy-internal
|
||||
namespace: network
|
||||
sectionName: https
|
||||
rules:
|
||||
- backendRefs:
|
||||
- identifier: app
|
||||
port: *port
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
19
kubernetes/apps/default/echo-internal/ks.yaml
Normal file
19
kubernetes/apps/default/echo-internal/ks.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: echo-internal
|
||||
spec:
|
||||
interval: 1h
|
||||
path: ./kubernetes/apps/default/echo-internal/app
|
||||
postBuild:
|
||||
substituteFrom:
|
||||
- name: cluster-secrets
|
||||
kind: Secret
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
namespace: flux-system
|
||||
targetNamespace: default
|
||||
wait: false
|
||||
@@ -9,3 +9,4 @@ components:
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./echo/ks.yaml
|
||||
- ./echo-internal/ks.yaml
|
||||
|
||||
@@ -181,4 +181,4 @@ spec:
|
||||
name: csi-ceph-filesystem
|
||||
deletionPolicy: Delete
|
||||
isDefault: false
|
||||
cephObjectStores: []
|
||||
cephObjectStores: []
|
||||
|
||||
@@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ./ocirepository.yaml
|
||||
- ./ocirepository.yaml
|
||||
|
||||
Reference in New Issue
Block a user