fix: simplify archmeister
This commit is contained in:
@@ -37,9 +37,6 @@ spec:
|
||||
string: "{{ .env }}"
|
||||
- name: hostname
|
||||
string: "{{ .hostname }}"
|
||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||
targetRevision: dev
|
||||
path: charts/archmeister/manifests
|
||||
templatePatch: |
|
||||
{{- if .autoSync }}
|
||||
spec:
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- _manifest.yaml
|
||||
patches:
|
||||
- path: deployment_patch.yaml
|
||||
target:
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: archmeister
|
||||
version: v1
|
||||
- path: ingress_patch.yaml
|
||||
target:
|
||||
group: networking.k8s.io
|
||||
kind: Ingress
|
||||
name: archmeister-internal
|
||||
version: v1
|
||||
annotationSelector: atlantis.oceanbox.io/expose=internal
|
||||
version: v1
|
||||
resources:
|
||||
- _manifest.yaml
|
||||
|
||||
@@ -20,9 +20,7 @@ metadata:
|
||||
{{- include "Archmeister.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.ingress.internal.annotations }}
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -61,4 +59,4 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
path: /spec/template/metadata/annotations
|
||||
value:
|
||||
dapr.io/enabled: "true"
|
||||
dapr.io/app-id: "prod-archmeister"
|
||||
dapr.io/app-id: "archmeister"
|
||||
dapr.io/app-port: "8000"
|
||||
dapr.io/config: "tracing"
|
||||
- op: add
|
||||
@@ -48,4 +48,4 @@
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: archmeister-env
|
||||
name: prod-archmeister-env
|
||||
|
||||
@@ -1,18 +1,14 @@
|
||||
namePrefix: prod-
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
- files:
|
||||
- name: archmeister-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
name: archmeister-appsettings
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: deployment_patch.yaml
|
||||
target:
|
||||
version: v1
|
||||
group: apps
|
||||
kind: Deployment
|
||||
name: archmeister
|
||||
version: v1
|
||||
resources:
|
||||
- ../base
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
path: /spec/template/metadata/annotations
|
||||
value:
|
||||
dapr.io/enabled: "true"
|
||||
dapr.io/app-id: "staging-archmeister"
|
||||
dapr.io/app-id: "archmeister"
|
||||
dapr.io/app-port: "8000"
|
||||
dapr.io/config: "tracing"
|
||||
- op: replace
|
||||
@@ -53,4 +53,4 @@
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: archmeister-env
|
||||
name: staging-archmeister-env
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
namePrefix: staging-
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
@@ -10,7 +9,6 @@ patches:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: archmeister
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- ../base
|
||||
- ../base
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
fullnameOverride: archmeister
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
internal:
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
|
||||
cluster:
|
||||
backupEnabled: false
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
fullnameOverride: archmeister
|
||||
|
||||
image:
|
||||
tag: 04ca077a-debug
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
# nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
internal:
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
atlantis.oceanbox.io/expose: global
|
||||
|
||||
cluster:
|
||||
backupEnabled: false
|
||||
|
||||
Reference in New Issue
Block a user