Skip to content

Commit

Permalink
ref: nitter helmrelease configuration and also
Browse files Browse the repository at this point in the history
fixes correct 3.2.1 syntax
  • Loading branch information
axeII committed Aug 22, 2024
1 parent eee50d3 commit 31d9fc2
Showing 1 changed file with 53 additions and 48 deletions.
101 changes: 53 additions & 48 deletions kubernetes/apps/default/nitter/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,54 +22,60 @@ spec:
remediation:
retries: 5
values:
controller:
replicas: 2
strategy: RollingUpdate
fullNameOverride: *app
image:
repository: registry.skysolutions.fi/library/nitter
tag: guest-accounts
service:
main:
ports:
http:
port: &port 8080
controllers:
nitter:
replicas: 1
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: registry.skysolutions.fi/library/nitter
tag: guest-accounts
probes:
liveness: &probes
enabled: false
custom: true
spec:
httpGet:
path: /settings
port: &port 8080
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
memory: 50Mi
limits:
memory: 250Mi
defaultPodOptions:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
ingress:
main:
enabled: true
ingressClassName: internal
app:
className: internal
annotations:
hajimari.io/icon: 'twitter'
hosts:
- host: &host 'nitter.${SECRET_DOMAIN}'
- host: &host "nitter.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
probes:
liveness: &probes
enabled: false
custom: true
spec:
httpGet:
path: /settings
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
service:
identifier: app
port: http
tls:
- hosts: [*host]
persistence:
config:
enabled: true
Expand All @@ -78,10 +84,9 @@ spec:
subPath: config.ini
mountPath: /src/nitter.conf
readOnly: false
podAnnotations:
secret.reloader.stakater.com/reload: *app
resources:
requests:
memory: 50Mi
limits:
memory: 250Mi
service:
app:
controller: *app
ports:
http:
port: *port

0 comments on commit 31d9fc2

Please sign in to comment.