Skip to content

Instantly share code, notes, and snippets.

View mturnaviotov's full-sized avatar
🔍

Mykola Turnaviotov mturnaviotov

🔍
View GitHub Profile
@mturnaviotov
mturnaviotov / hełm.yaml
Created March 30, 2026 09:37
hełm external-dns
---
# Source: external-dns/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: external-dns
namespace: dns
labels:
helm.sh/chart: external-dns-1.20.0
app.kubernetes.io/name: external-dns
#check role
---
- name: Python version check
raw: python -V 2>&1 | tr -d "Ppython. "
register: py_version
- name: Set Python version fact
set_fact:
py_ver: "{{ py_version.stdout | int }}"
# PASSENGER DEV OK
server {
listen 80;
listen 443 ssl http2;
listen [::]:80;
listen [::]:443 ssl http2;
server_name webapp.example.com;
location /.well-known/acme-challenge/ { alias /opt/le/.acme-challenges/; }
upstream my-web-app-here {
server 127.0.0.1:8080;
}
server {
listen 80;
listen 443 ssl http2;
listen [::]:80;
listen [::]:443 ssl http2;