Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e9b1c8f29 |
@@ -8,8 +8,3 @@ version: v1.35.2
|
|||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v1.35.2
|
appVersion: v1.35.2
|
||||||
dependencies:
|
|
||||||
- name: diagrid-dashboard
|
|
||||||
version: "0.1.0"
|
|
||||||
repository: "file://../diagrid-dashboard"
|
|
||||||
condition: diagrid-dashboard.enabled
|
|
||||||
|
|||||||
@@ -116,6 +116,3 @@ serviceMonitor:
|
|||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
statestore:
|
|
||||||
scope: my-scope
|
|
||||||
redis: my-redis
|
|
||||||
|
|
||||||
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
@@ -164,3 +160,7 @@ nodeSelector: {}
|
|||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
statestore:
|
||||||
|
scope: mrtz-sorcerer
|
||||||
|
redis: mrtz-sorcerer-redis
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
dependencies:
|
|
||||||
- name: diagrid-dashboard
|
|
||||||
repository: file://../diagrid-dashboard
|
|
||||||
version: 0.1.0
|
|
||||||
digest: sha256:4fdb3148a2a6439223d7844a3083da2de324dd47e5cb3ac4a5d9c436e6e2c775
|
|
||||||
generated: "2025-12-16T19:38:21.939708629+01:00"
|
|
||||||
@@ -8,8 +8,3 @@ version: v1.35.2
|
|||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v1.35.2
|
appVersion: v1.35.2
|
||||||
dependencies:
|
|
||||||
- name: diagrid-dashboard
|
|
||||||
version: "0.1.0"
|
|
||||||
repository: "file://../diagrid-dashboard"
|
|
||||||
condition: diagrid-dashboard.enabled
|
|
||||||
|
|||||||
@@ -108,9 +108,3 @@ serviceMonitor:
|
|||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
statestore:
|
|
||||||
scope: sorcerer
|
|
||||||
redis: sorcerer-redis
|
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
bases:
|
||||||
|
- ../envs/environments.yaml.gotmpl
|
||||||
|
|
||||||
|
repositories:
|
||||||
|
- name: sonatype-nexus
|
||||||
|
url: git+https://github.com/sonatype/helm3-charts@deploy?ref=master
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
tier: system
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: sonatype-nexus
|
||||||
|
namespace: sonatype-nexus
|
||||||
|
chart: sonatype-nexus/sonatype-nexus
|
||||||
|
condition: sonatype-nexus.enabled
|
||||||
|
values:
|
||||||
|
- ../values/sonatype-nexus/values/values.yaml
|
||||||
|
- ../values/sonatype-nexus/values/values-{{ .Environment.Name }}.yaml.gotmpl
|
||||||
|
postRenderer: ../bin/kustomizer
|
||||||
|
postRendererArgs:
|
||||||
|
- ../values/sonatype-nexus/kustomize/{{ .Environment.Name }}
|
||||||
|
missingFileHandler: Info
|
||||||
|
- name: manifests
|
||||||
|
namespace: sonatype-nexus
|
||||||
|
chart: manifests
|
||||||
|
condition: nsonatype-nexus.enabled
|
||||||
|
missingFileHandler: Info
|
||||||
|
values:
|
||||||
|
- ../values/env.yaml
|
||||||
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
- ../values/sonatype-nexus/env.yaml.gotmpl
|
||||||
|
- ../values/sonatype-nexus/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||||
|
hooks:
|
||||||
|
- events: [ prepare, cleanup ]
|
||||||
|
showlogs: true
|
||||||
|
command: ../bin/helmify
|
||||||
|
args:
|
||||||
|
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
||||||
|
- '{{`{{ .Release.Chart }}`}}'
|
||||||
|
- '{{`{{ .Environment.Name }}`}}'
|
||||||
|
- ../values/sonatype-nexus/manifests
|
||||||
|
- manifests
|
||||||
@@ -79,9 +79,3 @@ resources:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
statestore:
|
|
||||||
scope: prod-atlantis
|
|
||||||
redis: prod-atlantis-redis
|
|
||||||
|
|||||||
@@ -133,9 +133,3 @@ redis:
|
|||||||
resources:
|
resources:
|
||||||
cpu: 150m
|
cpu: 150m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
statestore:
|
|
||||||
scope: staging-atlantis
|
|
||||||
redis: staging-atlantis-redis
|
|
||||||
|
|||||||
@@ -10,4 +10,3 @@ podAnnotations:
|
|||||||
dapr.io/sidecar-memory-request: "50Mi"
|
dapr.io/sidecar-memory-request: "50Mi"
|
||||||
# dapr.io/sidecar-cpu-limit: "100m"
|
# dapr.io/sidecar-cpu-limit: "100m"
|
||||||
# dapr.io/sidecar-memory-limit: "1000Mi"
|
# dapr.io/sidecar-memory-limit: "1000Mi"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
sonatype-nexus:
|
||||||
|
enabled: true
|
||||||
|
autosync: true
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{{- if .Values.clusterConfig.argo.enabled }}
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: sonatype-nexus
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: cert-manager
|
||||||
|
server: 'https://kubernetes.default.svc'
|
||||||
|
sources:
|
||||||
|
- repoURL: {{ .Values.clusterConfig.manifests }}
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: helmfile.d
|
||||||
|
plugin:
|
||||||
|
name: helmfile-cmp
|
||||||
|
env:
|
||||||
|
- name: CLUSTER_NAME
|
||||||
|
value: {{ .Values.clusterConfig.cluster }}
|
||||||
|
- name: HELMFILE_ENVIRONMENT
|
||||||
|
value: default
|
||||||
|
- name: HELMFILE_FILE_PATH
|
||||||
|
value: sonatype-nexus.yaml.gotmpl
|
||||||
|
project: sys
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: cert-manager.io
|
||||||
|
kind: Certificate
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.spec.duration'
|
||||||
|
syncPolicy:
|
||||||
|
managedNamespaceMetadata:
|
||||||
|
labels:
|
||||||
|
component: sys
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
{{- if .Values.sonatype-nexus.autosync }}
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
# selfHeal: false
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -114,9 +114,3 @@ affinity:
|
|||||||
values:
|
values:
|
||||||
- prod-sorcerer
|
- prod-sorcerer
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
statestore:
|
|
||||||
scope: prod-sorcerer
|
|
||||||
redis: prod-sorcerer-redis
|
|
||||||
|
|||||||
@@ -111,9 +111,3 @@ affinity:
|
|||||||
values:
|
values:
|
||||||
- staging-sorcerer
|
- staging-sorcerer
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
diagrid-dashboard:
|
|
||||||
enabled: false
|
|
||||||
statestore:
|
|
||||||
scope: staging-sorcerer
|
|
||||||
redis: staging-sorcerer-redis
|
|
||||||
|
|||||||
Reference in New Issue
Block a user