Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: empty rawValues in defaults #1671

Merged
merged 4 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 59 additions & 21 deletions helmfile.d/snippets/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ environments:
apps:
alertmanager:
enabled: false
_rawValues: {}
argocd:
applicationSet:
replicas: 1
Expand All @@ -32,7 +33,7 @@ environments:
memory: 1Gi
limits:
cpu: "2"
memory: 2Gi
memory: 2Gi
server:
requests:
cpu: 50m
Expand Down Expand Up @@ -75,6 +76,7 @@ environments:
limits:
memory: 1Gi
cpu: "1"
_rawValues: {}
cert-manager:
issuer: custom-ca
resources:
Expand All @@ -84,6 +86,7 @@ environments:
limits:
cpu: 200m
memory: 384Mi
_rawValues: {}
cnpg:
resources:
requests:
Expand All @@ -92,6 +95,7 @@ environments:
limits:
cpu: 1000m
memory: 512Mi
_rawValues: {}
drone:
enabled: false
debug: false
Expand Down Expand Up @@ -234,12 +238,14 @@ environments:
memory: 32Mi
gitea:
adminUsername: otomi-admin
_rawValues: {}
grafana:
enabled: false
_rawValues: {}
harbor:
enabled: false
oidcAutoOnboard: true
oidcUserClaim: 'email'
oidcUserClaim: email
registry:
credentials:
username: otomi-admin
Expand All @@ -251,8 +257,10 @@ environments:
limits:
cpu: 400m
memory: 512Mi
_rawValues: {}
httpbin:
enabled: false
_rawValues: {}
ingress-nginx:
autoscaling:
enabled: true
Expand All @@ -270,11 +278,12 @@ environments:
maxReplicas: 10
tracing:
enabled: false
samplingRatio: '0.01'
samplingRatio: "0.01"
_rawValues: {}
istio:
tracing:
enabled: false
samplingRatio: '0.01'
samplingRatio: "0.01"
autoscaling:
egressgateway:
minReplicas: 2
Expand All @@ -287,8 +296,10 @@ environments:
maxReplicas: 10
egressGateway:
enabled: false
_rawValues: {}
jaeger:
enabled: false
_rawValues: {}
keycloak:
adminUsername: otomi-admin
theme: otomi
Expand All @@ -310,6 +321,7 @@ environments:
idp:
alias: otomi-idp
clientID: otomi
_rawValues: {}
kiali:
enabled: false
resources:
Expand All @@ -327,10 +339,12 @@ environments:
limits:
cpu: 2000m
memory: 1Gi
_rawValues: {}
knative:
enabled: false
serving:
replicas: 1
_rawValues: {}
kured:
enabled: false
resources:
Expand All @@ -341,6 +355,7 @@ environments:
limits:
cpu: 50m
memory: 32Mi
_rawValues: {}
kyverno:
enabled: false
mode: DevTest
Expand All @@ -350,29 +365,30 @@ environments:
cpu: 200m
memory: 128Mi
limits:
cpu: '1'
cpu: "1"
memory: 512Mi
cleanupController:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: '1'
cpu: "1"
memory: 512Mi
backgroundController:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: '1'
cpu: "1"
memory: 512Mi
reportsController:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: '1'
cpu: "1"
memory: 512Mi
_rawValues: {}
tekton:
resources:
dashboard:
Expand All @@ -382,6 +398,7 @@ environments:
requests:
cpu: 10m
memory: 64Mi
_rawValues: {}
loki:
enabled: false
resources:
Expand Down Expand Up @@ -463,9 +480,11 @@ environments:
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
_rawValues: {}
metrics-server:
apiServer:
create: true
_rawValues: {}
minio:
enabled: false
provisioning:
Expand All @@ -478,13 +497,18 @@ environments:
cpu: 500m
memory: 128Mi
limits:
cpu: '1'
cpu: "1"
memory: 1Gi
oauth2-proxy: {}
oauth2-proxy-redis: {}
_rawValues: {}
oauth2-proxy:
_rawValues: {}
oauth2-proxy-redis:
_rawValues: {}
otomi-api:
editorInactivityTimeout: 1
otomi-console: {}
_rawValues: {}
otomi-console:
_rawValues: {}
otomi-operator:
resources:
operator:
Expand All @@ -494,6 +518,7 @@ environments:
limits:
cpu: 200m
memory: 256Mi
_rawValues: {}
apl-harbor-operator:
resources:
operator:
Expand All @@ -503,6 +528,7 @@ environments:
limits:
cpu: 200m
memory: 256Mi
_rawValues: {}
apl-gitea-operator:
resources:
operator:
Expand All @@ -512,6 +538,7 @@ environments:
limits:
cpu: 200m
memory: 256Mi
_rawValues: {}
apl-keycloak-operator:
resources:
operator:
Expand All @@ -521,9 +548,12 @@ environments:
limits:
cpu: 200m
memory: 256Mi
_rawValues: {}
promtail:
enabled: false
prometheus-blackbox-exporter: {}
_rawValues: {}
prometheus-blackbox-exporter:
_rawValues: {}
prometheus:
enabled: false
disabledRules:
Expand All @@ -536,8 +566,10 @@ environments:
scrapeInterval: 60s
retentionSize: 4GB
storageSize: 5Gi
_rawValues: {}
redis-shared:
enabled: false
_rawValues: {}
otel:
enabled: false
collector:
Expand Down Expand Up @@ -573,6 +605,7 @@ environments:
limits:
cpu: 500m
memory: 128Mi
_rawValues: {}
sealed-secrets:
resources:
operator:
Expand All @@ -582,6 +615,7 @@ environments:
limits:
cpu: 2000m
memory: 1024Mi
_rawValues: {}
tempo:
enabled: false
resources:
Expand Down Expand Up @@ -658,6 +692,7 @@ environments:
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
_rawValues: {}
rabbitmq:
enabled: false
resources:
Expand All @@ -675,6 +710,7 @@ environments:
limits:
cpu: 900m
memory: 512Mi
_rawValues: {}
trivy:
enabled: false
operator:
Expand All @@ -694,6 +730,7 @@ environments:
limits:
cpu: 500m
memory: 512Mi
_rawValues: {}
velero:
enabled: false
restic:
Expand All @@ -706,10 +743,11 @@ environments:
limits:
cpu: 1000m
memory: 512Mi
_rawValues: {}
databases:
keycloak:
imported: false
size: '5Gi'
size: 5Gi
replicas: 2
resources:
limits:
Expand All @@ -719,13 +757,13 @@ environments:
cpu: 50m
memory: 256Mi
harbor:
size: '5Gi'
size: 5Gi
replicas: 2
coreDatabase: registry
gitea:
useOtomiDB: true
imported: false
size: '5Gi'
size: 5Gi
replicas: 2
resources:
limits:
Expand All @@ -738,11 +776,11 @@ environments:
provider:
type: disabled
buckets:
loki: loki
cnpg: cnpg
velero: velero
harbor: harbor
tempo: tempo
loki: loki
cnpg: cnpg
velero: velero
harbor: harbor
tempo: tempo
platformBackups:
database:
harbor:
Expand Down
6 changes: 6 additions & 0 deletions values-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,8 @@ properties:
enabled:
type: boolean
default: false
_rawValues:
$ref: '#/definitions/rawValues'
ingress-nginx-platform:
$ref: '#/definitions/ingressNginx'
istio:
Expand Down Expand Up @@ -2010,6 +2012,8 @@ properties:
knative:
additionalProperties: false
properties:
_rawValues:
$ref: '#/definitions/rawValues'
enabled:
type: boolean
default: true
Expand Down Expand Up @@ -2432,6 +2436,8 @@ properties:
$ref: '#/definitions/resources'
otel:
properties:
_rawValues:
$ref: '#/definitions/rawValues'
enabled:
type: boolean
default: false
Expand Down
4 changes: 2 additions & 2 deletions versions.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
api: dvk-simplify-app-values
console: dvk-simplify-app-values
api: main
console: main
tasks: 3.0.0
tools: 1.6.4