Skip to content

Commit

Permalink
fix: merge settings with upstream template
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed May 7, 2024
1 parent 0e035e6 commit 5bf833b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 45 deletions.
4 changes: 2 additions & 2 deletions ansible/playbooks/cluster-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
dest: /etc/resolv.conf
content: |
search web3.wiki.br
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 208.67.222.222
nameserver 208.67.220.220
- name: System Configuration
notify: Reboot
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/templates/kube-vip-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: kube-vip
image: ghcr.io/kube-vip/kube-vip:v0.8.0
image: ghcr.io/kube-vip/kube-vip:v0.7.1
imagePullPolicy: IfNotPresent
args: ["manager"]
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ spec:
retries: 3
values:
args:
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s
#% if bootstrap_distribution in ["k3s"] %#
- --kubelet-insecure-tls
#% endif %#
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s
metrics:
enabled: true
serviceMonitor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 2.6.0
version: 3.1.0
sourceRef:
kind: HelmRepository
name: bjw-s
Expand All @@ -20,17 +20,15 @@ spec:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
echo-server:
strategy: RollingUpdate
containers:
main:
app:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
tag: 33
env:
HTTP_PORT: &port 8080
LOG_WITHOUT_NEWLINE: true
Expand All @@ -49,58 +47,45 @@ spec:
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
seccompProfile:
type: RuntimeDefault
resources:
requests:
cpu: 10m
limits:
memory: 64Mi
pod:
securityContext:
runAsUser: 65534
runAsGroup: 65534
runAsNonRoot: true
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
seccompProfile: { type: RuntimeDefault }
service:
main:
app:
controller: echo-server
ports:
http:
port: *port
serviceMonitor:
main:
enabled: true
app:
serviceName: echo-server
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
ingress:
main:
enabled: true
app:
className: external
annotations:
external-dns.alpha.kubernetes.io/target: "external.${SECRET_DOMAIN}"
hosts:
- host: &host "{{ .Release.Name }}-external.${SECRET_DOMAIN}"
- host: "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: /
service:
name: main
identifier: app
port: http
tls:
- hosts:
- *host
internal:
enabled: true
className: internal
hosts:
- host: &host "{{ .Release.Name }}-internal.${SECRET_DOMAIN}"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
1 change: 0 additions & 1 deletion kubernetes/apps/media/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ spec:
repository: ghcr.io/onedr0p/prowlarr-develop
tag: 1.17.0.4448
env:
DOTNET_SYSTEM_NET_DISABLEIPV6: 1
PROWLARR__INSTANCE_NAME: Prowlarr
PROWLARR__PORT: &port 80
PROWLARR__LOG_LEVEL: info
Expand Down

0 comments on commit 5bf833b

Please sign in to comment.