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