From 8a17193dd08885207a544c41705dde576a8aabe3 Mon Sep 17 00:00:00 2001 From: Christoph Schug Date: Thu, 22 Feb 2024 19:01:59 +0100 Subject: [PATCH] fix: add final newline character to text files This makes text files compliant to POSIX which requires every line of a text file to end with a newline character [1][2]. [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_403 [2] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 --- ansible/configuration/fail2ban/config-f2b-protect-sshd.yaml | 2 +- ansible/configuration/ssh/config-add-sshkey.yaml | 2 +- ansible/deployment/portainer/deploy-portainer.yaml | 2 +- ansible/deployment/traefik/deploy-traefik.yaml | 2 +- ansible/installation/inst-docker-ubuntu.yaml | 2 +- ansible/installation/inst-k8s/ansible.cfg | 2 +- ansible/installation/inst-k8s/k8s_worker_node_connection.j2 | 2 +- ansible/installation/inst-zsh.yaml | 2 +- ansible/maintenance/maint-docker-clean.yaml | 2 +- ansible/maintenance/maint-reboot-required.yaml | 2 +- ansible/maintenance/maint-reboot.yaml | 2 +- ansible/notification/notify-discord.yaml | 2 +- ansible/update/upd-apt-dist.yaml | 1 + ansible/update/upd-apt.yaml | 2 +- docker-compose/ansiblesemaphore/docker-compose.yaml | 2 +- docker-compose/bind9/config/example.named.conf | 1 + docker-compose/bind9/docker-compose.yaml | 2 +- docker-compose/duplicati/docker-compose.yaml | 2 +- docker-compose/factory/README.md | 1 + docker-compose/grafana/docker-compose.yaml | 2 +- docker-compose/heimdall/docker-compose.yaml | 2 +- docker-compose/homeassistant/docker-compose.yaml | 2 +- docker-compose/homer/assets/example.config.yml | 2 +- docker-compose/homer/assets/example.custom.css | 2 +- docker-compose/homer/assets/example2.config.yml | 2 +- docker-compose/homer/docker-compose.yaml | 2 +- docker-compose/nextcloud/docker-compose.yaml | 2 +- docker-compose/nginxproxymanager/docker-compose.yaml | 2 +- docker-compose/nodeexporter/docker-compose.yaml | 2 +- docker-compose/nvidiadgcm/docker-compose.yaml | 2 +- docker-compose/nvidiasmi/docker-compose.yaml | 2 +- docker-compose/passbolt/docker-compose.yaml | 2 +- docker-compose/pihole/docker-compose.yaml | 2 +- docker-compose/portainer-agent/docker-compose.yaml | 2 +- docker-compose/portainer/docker-compose.yaml | 2 +- docker-compose/swag/docker-compose.yaml | 2 +- docker-compose/teleport/config/teleport.yaml | 2 +- github-actions/scp-action/copy-config-files.yml | 2 +- kubernetes/certmanager/default-values.yml | 2 +- kubernetes/certmanager/templates/certificate.yaml | 2 +- kubernetes/certmanager/templates/clusterissuer-selfsigned.yml | 2 +- kubernetes/certmanager/templates/issuer-selfsigned.yml | 2 +- kubernetes/certmanager/templates/secret-cloudflare.yml | 2 +- kubernetes/nginx-http/nginx-http-cm.yml | 2 +- kubernetes/nginx-http/nginx-http-deploy.yml | 2 +- kubernetes/nginx-http/nginx-http-svc.yml | 2 +- kubernetes/portainer/templates/portainer-ingress.yml | 2 +- kubernetes/portainer/values.yml | 1 + kubernetes/templates/certificate.yaml | 2 +- kubernetes/templates/cm-and-secrets/mysql-deploy.yml | 2 +- kubernetes/templates/cm-and-secrets/mysql-secret.yml | 2 +- kubernetes/templates/cm-and-secrets/nginx-http-cm.yml | 2 +- kubernetes/templates/cm-and-secrets/nginx-http-deploy.yml | 2 +- kubernetes/templates/cm-and-secrets/nginx-http-svc.yml | 2 +- .../templates/cm-and-secrets/nginx-https-secret-blank.yml | 2 +- kubernetes/templates/cm-and-secrets/nginx-https-svc.yml | 2 +- kubernetes/templates/ingress.yaml | 2 +- kubernetes/templates/namespace.yml | 2 +- kubernetes/templates/pv-and-pvc/civo-pvc.yml | 2 +- kubernetes/templates/pv-and-pvc/civo-web.yml | 2 +- kubernetes/templates/pv-and-pvc/local-web.yml | 2 +- kubernetes/templates/pv-and-pvc/nfs-pv.yml | 2 +- kubernetes/templates/pv-and-pvc/nfs-pvc.yml | 2 +- kubernetes/templates/service.yaml | 2 +- kubernetes/traefik/templates/ingress.yml | 2 +- kubernetes/traefik/templates/ingressroutetcp.yml | 2 +- packer/proxmox/ubuntu-server-focal-docker/files/99-pve.cfg | 2 +- packer/proxmox/ubuntu-server-focal-docker/http/meta-data | 1 + packer/proxmox/ubuntu-server-focal/files/99-pve.cfg | 2 +- packer/proxmox/ubuntu-server-focal/http/meta-data | 1 + packer/proxmox/ubuntu-server-jammy-docker/files/99-pve.cfg | 2 +- packer/proxmox/ubuntu-server-jammy-docker/http/meta-data | 1 + packer/proxmox/ubuntu-server-jammy/files/99-pve.cfg | 2 +- packer/proxmox/ubuntu-server-jammy/http/meta-data | 1 + terraform/helm/traefik.tf | 2 +- terraform/kubectl/manifest.tf | 2 +- terraform/kubernetes/deployment.tf | 2 +- terraform/kubernetes/ingress.tf | 2 +- terraform/kubernetes/secret.tf | 2 +- terraform/kubernetes/service.tf | 2 +- terraform/proxmox/credentials.auto.tfvars | 2 +- terraform/proxmox/full-clone.tf | 2 +- terraform/templates/cloud-deployment-example/civo.tf | 2 +- terraform/templates/cloud-deployment-example/main.tf | 2 +- .../templates/kubernetes-automation-example/certmanager.tf | 2 +- terraform/templates/kubernetes-automation-example/provider.tf | 2 +- terraform/templates/kubernetes-automation-example/traefik.tf | 2 +- terraform/templates/simple-docker-example/main.tf | 2 +- vagrant/hyperv/ubuntu/ubuntu-cluster-plain/Vagrantfile | 2 +- 89 files changed, 89 insertions(+), 81 deletions(-) diff --git a/ansible/configuration/fail2ban/config-f2b-protect-sshd.yaml b/ansible/configuration/fail2ban/config-f2b-protect-sshd.yaml index 7f29bca..ceabe4e 100644 --- a/ansible/configuration/fail2ban/config-f2b-protect-sshd.yaml +++ b/ansible/configuration/fail2ban/config-f2b-protect-sshd.yaml @@ -16,4 +16,4 @@ systemd: state: restarted daemon_reload: yes - name: fail2ban \ No newline at end of file + name: fail2ban diff --git a/ansible/configuration/ssh/config-add-sshkey.yaml b/ansible/configuration/ssh/config-add-sshkey.yaml index 99e694d..023ed04 100644 --- a/ansible/configuration/ssh/config-add-sshkey.yaml +++ b/ansible/configuration/ssh/config-add-sshkey.yaml @@ -14,4 +14,4 @@ state: present regexp: '^%sudo' line: '%sudo ALL=(ALL) NOPASSWD: ALL' - validate: /usr/sbin/visudo -cf %s \ No newline at end of file + validate: /usr/sbin/visudo -cf %s diff --git a/ansible/deployment/portainer/deploy-portainer.yaml b/ansible/deployment/portainer/deploy-portainer.yaml index c5aef61..a653f9d 100644 --- a/ansible/deployment/portainer/deploy-portainer.yaml +++ b/ansible/deployment/portainer/deploy-portainer.yaml @@ -16,4 +16,4 @@ volumes: - /var/run/docker.sock:/var/run/docker.sock - portainer-data:/data - restart_policy: unless-stopped \ No newline at end of file + restart_policy: unless-stopped diff --git a/ansible/deployment/traefik/deploy-traefik.yaml b/ansible/deployment/traefik/deploy-traefik.yaml index eb4d8c2..fe64d1d 100644 --- a/ansible/deployment/traefik/deploy-traefik.yaml +++ b/ansible/deployment/traefik/deploy-traefik.yaml @@ -14,4 +14,4 @@ volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/traefik:/etc/traefik - restart_policy: unless-stopped \ No newline at end of file + restart_policy: unless-stopped diff --git a/ansible/installation/inst-docker-ubuntu.yaml b/ansible/installation/inst-docker-ubuntu.yaml index 45f8de0..0d31101 100644 --- a/ansible/installation/inst-docker-ubuntu.yaml +++ b/ansible/installation/inst-docker-ubuntu.yaml @@ -31,4 +31,4 @@ - docker-buildx-plugin - docker-scan-plugin - docker-compose-plugin - update_cache: yes \ No newline at end of file + update_cache: yes diff --git a/ansible/installation/inst-k8s/ansible.cfg b/ansible/installation/inst-k8s/ansible.cfg index 5c5d1c9..7dcf904 100644 --- a/ansible/installation/inst-k8s/ansible.cfg +++ b/ansible/installation/inst-k8s/ansible.cfg @@ -1,2 +1,2 @@ [defaults] -timeout = 25 \ No newline at end of file +timeout = 25 diff --git a/ansible/installation/inst-k8s/k8s_worker_node_connection.j2 b/ansible/installation/inst-k8s/k8s_worker_node_connection.j2 index 37e6bb0..80a26db 100644 --- a/ansible/installation/inst-k8s/k8s_worker_node_connection.j2 +++ b/ansible/installation/inst-k8s/k8s_worker_node_connection.j2 @@ -1 +1 @@ -{{ join_output.stdout }} \ No newline at end of file +{{ join_output.stdout }} diff --git a/ansible/installation/inst-zsh.yaml b/ansible/installation/inst-zsh.yaml index a54b727..781ada1 100644 --- a/ansible/installation/inst-zsh.yaml +++ b/ansible/installation/inst-zsh.yaml @@ -8,4 +8,4 @@ name: zsh state: present update_cache: true - become: true \ No newline at end of file + become: true diff --git a/ansible/maintenance/maint-docker-clean.yaml b/ansible/maintenance/maint-docker-clean.yaml index 9f4b15b..00c4e07 100644 --- a/ansible/maintenance/maint-docker-clean.yaml +++ b/ansible/maintenance/maint-docker-clean.yaml @@ -10,4 +10,4 @@ dangling: false networks: false volumes: false - builder_cache: false \ No newline at end of file + builder_cache: false diff --git a/ansible/maintenance/maint-reboot-required.yaml b/ansible/maintenance/maint-reboot-required.yaml index 718e975..f6b87ca 100644 --- a/ansible/maintenance/maint-reboot-required.yaml +++ b/ansible/maintenance/maint-reboot-required.yaml @@ -10,4 +10,4 @@ register: reboot_required - debug: msg: "Reboot is required" - when: reboot_required.stat.exists \ No newline at end of file + when: reboot_required.stat.exists diff --git a/ansible/maintenance/maint-reboot.yaml b/ansible/maintenance/maint-reboot.yaml index 8ba5020..723f95f 100644 --- a/ansible/maintenance/maint-reboot.yaml +++ b/ansible/maintenance/maint-reboot.yaml @@ -5,4 +5,4 @@ tasks: - name: reboot machine reboot: - reboot_timeout: 3600 \ No newline at end of file + reboot_timeout: 3600 diff --git a/ansible/notification/notify-discord.yaml b/ansible/notification/notify-discord.yaml index aec5677..7d04775 100644 --- a/ansible/notification/notify-discord.yaml +++ b/ansible/notification/notify-discord.yaml @@ -11,4 +11,4 @@ headers: Content-Type: application/json status_code: 204 - # when: your-condition \ No newline at end of file + # when: your-condition diff --git a/ansible/update/upd-apt-dist.yaml b/ansible/update/upd-apt-dist.yaml index e69de29..8b13789 100644 --- a/ansible/update/upd-apt-dist.yaml +++ b/ansible/update/upd-apt-dist.yaml @@ -0,0 +1 @@ + diff --git a/ansible/update/upd-apt.yaml b/ansible/update/upd-apt.yaml index 4c087e2..d689830 100644 --- a/ansible/update/upd-apt.yaml +++ b/ansible/update/upd-apt.yaml @@ -23,4 +23,4 @@ yum: name: '*' state: latest - exclude: kernel* \ No newline at end of file + exclude: kernel* diff --git a/docker-compose/ansiblesemaphore/docker-compose.yaml b/docker-compose/ansiblesemaphore/docker-compose.yaml index 227dd67..14cb6c9 100644 --- a/docker-compose/ansiblesemaphore/docker-compose.yaml +++ b/docker-compose/ansiblesemaphore/docker-compose.yaml @@ -40,4 +40,4 @@ services: - ./config/:/etc/semaphore:rw restart: unless-stopped depends_on: - - mysql \ No newline at end of file + - mysql diff --git a/docker-compose/bind9/config/example.named.conf b/docker-compose/bind9/config/example.named.conf index e69de29..8b13789 100644 --- a/docker-compose/bind9/config/example.named.conf +++ b/docker-compose/bind9/config/example.named.conf @@ -0,0 +1 @@ + diff --git a/docker-compose/bind9/docker-compose.yaml b/docker-compose/bind9/docker-compose.yaml index 2f0e287..ceef251 100644 --- a/docker-compose/bind9/docker-compose.yaml +++ b/docker-compose/bind9/docker-compose.yaml @@ -9,4 +9,4 @@ services: - /etc/bind/:/etc/bind/ - /var/cache/bind:/var/cache/bind - /var/lib/bind:/var/lib/bind - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/duplicati/docker-compose.yaml b/docker-compose/duplicati/docker-compose.yaml index 93d90ac..dc45be7 100644 --- a/docker-compose/duplicati/docker-compose.yaml +++ b/docker-compose/duplicati/docker-compose.yaml @@ -13,4 +13,4 @@ services: - /:/source ports: - 8200:8200 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/factory/README.md b/docker-compose/factory/README.md index e69de29..8b13789 100644 --- a/docker-compose/factory/README.md +++ b/docker-compose/factory/README.md @@ -0,0 +1 @@ + diff --git a/docker-compose/grafana/docker-compose.yaml b/docker-compose/grafana/docker-compose.yaml index b8b1d48..0faa9d6 100644 --- a/docker-compose/grafana/docker-compose.yaml +++ b/docker-compose/grafana/docker-compose.yaml @@ -10,4 +10,4 @@ services: - "3000:3000" volumes: - grafana-data:/var/lib/grafana - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/heimdall/docker-compose.yaml b/docker-compose/heimdall/docker-compose.yaml index 2463483..ccf0ec3 100644 --- a/docker-compose/heimdall/docker-compose.yaml +++ b/docker-compose/heimdall/docker-compose.yaml @@ -11,4 +11,4 @@ services: ports: - 80:80 - 443:443 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/homeassistant/docker-compose.yaml b/docker-compose/homeassistant/docker-compose.yaml index fbb54b7..8aab054 100644 --- a/docker-compose/homeassistant/docker-compose.yaml +++ b/docker-compose/homeassistant/docker-compose.yaml @@ -9,4 +9,4 @@ services: # devices: # - /dev/ttyACMO # (optional) Add serial devices to the container privileged: true - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/homer/assets/example.config.yml b/docker-compose/homer/assets/example.config.yml index f5aec99..e59e138 100644 --- a/docker-compose/homer/assets/example.config.yml +++ b/docker-compose/homer/assets/example.config.yml @@ -79,4 +79,4 @@ services: logo: "assets/tools/sample2.png" subtitle: "Another application" tag: "app" - url: "#" \ No newline at end of file + url: "#" diff --git a/docker-compose/homer/assets/example.custom.css b/docker-compose/homer/assets/example.custom.css index 0102bdb..00658d7 100644 --- a/docker-compose/homer/assets/example.custom.css +++ b/docker-compose/homer/assets/example.custom.css @@ -5,4 +5,4 @@ body #app .card.green { background-color: #006600; color: #00ff00; -} \ No newline at end of file +} diff --git a/docker-compose/homer/assets/example2.config.yml b/docker-compose/homer/assets/example2.config.yml index 5540af7..ff7f80a 100644 --- a/docker-compose/homer/assets/example2.config.yml +++ b/docker-compose/homer/assets/example2.config.yml @@ -61,4 +61,4 @@ services: logo: "assets/tools/pingdom.png" subtitle: "Pingdom public reports overview" tag: "CI" - url: "https://www.pingdom.com/" \ No newline at end of file + url: "https://www.pingdom.com/" diff --git a/docker-compose/homer/docker-compose.yaml b/docker-compose/homer/docker-compose.yaml index 858cef6..d6f86ea 100644 --- a/docker-compose/homer/docker-compose.yaml +++ b/docker-compose/homer/docker-compose.yaml @@ -7,4 +7,4 @@ services: - "8080:8080" volumes: - /etc/homer/assets/:/www/assets - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/nextcloud/docker-compose.yaml b/docker-compose/nextcloud/docker-compose.yaml index 20ed464..47724c9 100644 --- a/docker-compose/nextcloud/docker-compose.yaml +++ b/docker-compose/nextcloud/docker-compose.yaml @@ -27,4 +27,4 @@ services: - MYSQL_PASSWORD=$MYSQL_PASSWORD - MYSQL_DATABASE=$MYSQL_DATABASE - MYSQL_USER=$MYSQL_USER - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/nginxproxymanager/docker-compose.yaml b/docker-compose/nginxproxymanager/docker-compose.yaml index 8146978..995f3f1 100644 --- a/docker-compose/nginxproxymanager/docker-compose.yaml +++ b/docker-compose/nginxproxymanager/docker-compose.yaml @@ -27,4 +27,4 @@ services: - MYSQL_USER=npm - MYSQL_PASSWORD=npm volumes: - - nginxproxymanager-db:/var/lib/mysql \ No newline at end of file + - nginxproxymanager-db:/var/lib/mysql diff --git a/docker-compose/nodeexporter/docker-compose.yaml b/docker-compose/nodeexporter/docker-compose.yaml index 6d3b5cf..eaf5b5a 100755 --- a/docker-compose/nodeexporter/docker-compose.yaml +++ b/docker-compose/nodeexporter/docker-compose.yaml @@ -7,4 +7,4 @@ services: pid: host restart: unless-stopped volumes: - - /:/host:ro,rslave \ No newline at end of file + - /:/host:ro,rslave diff --git a/docker-compose/nvidiadgcm/docker-compose.yaml b/docker-compose/nvidiadgcm/docker-compose.yaml index 8d76263..6e25cd9 100644 --- a/docker-compose/nvidiadgcm/docker-compose.yaml +++ b/docker-compose/nvidiadgcm/docker-compose.yaml @@ -11,4 +11,4 @@ services: - NVIDIA_DRIVER_CAPABILITIES=all ports: - 9400:9400 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/nvidiasmi/docker-compose.yaml b/docker-compose/nvidiasmi/docker-compose.yaml index b69d69b..10d6200 100644 --- a/docker-compose/nvidiasmi/docker-compose.yaml +++ b/docker-compose/nvidiasmi/docker-compose.yaml @@ -13,4 +13,4 @@ services: - /usr/bin/nvidia-smi:/usr/bin/nvidia-smi - /usr/lib/x86_64-linux-gnu/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so - /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/passbolt/docker-compose.yaml b/docker-compose/passbolt/docker-compose.yaml index bec9681..97d3d71 100644 --- a/docker-compose/passbolt/docker-compose.yaml +++ b/docker-compose/passbolt/docker-compose.yaml @@ -36,4 +36,4 @@ services: - passbolt-data-gpg:/etc/passbolt/gpg - passbolt-data-jwt:/etc/passbolt/jwt command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"] - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/pihole/docker-compose.yaml b/docker-compose/pihole/docker-compose.yaml index 956ca5d..22e0ede 100644 --- a/docker-compose/pihole/docker-compose.yaml +++ b/docker-compose/pihole/docker-compose.yaml @@ -16,4 +16,4 @@ services: volumes: - etcd:/etc/pihole - dnsmasq:/etc/dnsmasq.d - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/portainer-agent/docker-compose.yaml b/docker-compose/portainer-agent/docker-compose.yaml index c54c2c0..f55525a 100644 --- a/docker-compose/portainer-agent/docker-compose.yaml +++ b/docker-compose/portainer-agent/docker-compose.yaml @@ -12,4 +12,4 @@ services: - /var/lib/docker/volumes:/var/lib/docker/volumes networks: - portainer-agent_default - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/portainer/docker-compose.yaml b/docker-compose/portainer/docker-compose.yaml index 0ec3744..c729eab 100644 --- a/docker-compose/portainer/docker-compose.yaml +++ b/docker-compose/portainer/docker-compose.yaml @@ -13,4 +13,4 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - portainer-data:/data - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/swag/docker-compose.yaml b/docker-compose/swag/docker-compose.yaml index 22ff315..6d482d5 100644 --- a/docker-compose/swag/docker-compose.yaml +++ b/docker-compose/swag/docker-compose.yaml @@ -33,4 +33,4 @@ services: - 80:80 # optional depends_on: - mariadb - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose/teleport/config/teleport.yaml b/docker-compose/teleport/config/teleport.yaml index 359a57b..d4ae4e0 100644 --- a/docker-compose/teleport/config/teleport.yaml +++ b/docker-compose/teleport/config/teleport.yaml @@ -51,4 +51,4 @@ app_service: # apps: # - name: "yourapp" # uri: "http://your-app-url" - # insecure_skip_verify: false \ No newline at end of file + # insecure_skip_verify: false diff --git a/github-actions/scp-action/copy-config-files.yml b/github-actions/scp-action/copy-config-files.yml index f1c23ca..4f16db3 100644 --- a/github-actions/scp-action/copy-config-files.yml +++ b/github-actions/scp-action/copy-config-files.yml @@ -23,4 +23,4 @@ jobs: key: ${{ secrets.your-private-ssh-key }} source: './config/*' target: '/target/path/' - strip_components: 1 # remove the top level directory \ No newline at end of file + strip_components: 1 # remove the top level directory diff --git a/kubernetes/certmanager/default-values.yml b/kubernetes/certmanager/default-values.yml index f20c2d6..2603de0 100644 --- a/kubernetes/certmanager/default-values.yml +++ b/kubernetes/certmanager/default-values.yml @@ -513,4 +513,4 @@ startupapicheck: helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded # Automount API credentials for a Service Account. - automountServiceAccountToken: true \ No newline at end of file + automountServiceAccountToken: true diff --git a/kubernetes/certmanager/templates/certificate.yaml b/kubernetes/certmanager/templates/certificate.yaml index a48c792..f56d7d5 100644 --- a/kubernetes/certmanager/templates/certificate.yaml +++ b/kubernetes/certmanager/templates/certificate.yaml @@ -9,4 +9,4 @@ spec: name: ssl-issuer kind: ClusterIssuer dnsNames: - - your-hostname \ No newline at end of file + - your-hostname diff --git a/kubernetes/certmanager/templates/clusterissuer-selfsigned.yml b/kubernetes/certmanager/templates/clusterissuer-selfsigned.yml index 7820a9b..56366fa 100644 --- a/kubernetes/certmanager/templates/clusterissuer-selfsigned.yml +++ b/kubernetes/certmanager/templates/clusterissuer-selfsigned.yml @@ -3,4 +3,4 @@ kind: ClusterIssuer metadata: name: selfsigned-issuer spec: - selfSigned: {} \ No newline at end of file + selfSigned: {} diff --git a/kubernetes/certmanager/templates/issuer-selfsigned.yml b/kubernetes/certmanager/templates/issuer-selfsigned.yml index 8771d2a..ae1264f 100644 --- a/kubernetes/certmanager/templates/issuer-selfsigned.yml +++ b/kubernetes/certmanager/templates/issuer-selfsigned.yml @@ -6,4 +6,4 @@ metadata: # --- # namespace: your-namespace spec: - selfSigned: {} \ No newline at end of file + selfSigned: {} diff --git a/kubernetes/certmanager/templates/secret-cloudflare.yml b/kubernetes/certmanager/templates/secret-cloudflare.yml index 2d9e1ba..9601e46 100644 --- a/kubernetes/certmanager/templates/secret-cloudflare.yml +++ b/kubernetes/certmanager/templates/secret-cloudflare.yml @@ -11,4 +11,4 @@ stringData: # api-key: your-api-key # - or - # Token: - # api-token: your-api-token \ No newline at end of file + # api-token: your-api-token diff --git a/kubernetes/nginx-http/nginx-http-cm.yml b/kubernetes/nginx-http/nginx-http-cm.yml index 672f5e6..2634376 100644 --- a/kubernetes/nginx-http/nginx-http-cm.yml +++ b/kubernetes/nginx-http/nginx-http-cm.yml @@ -25,4 +25,4 @@ data: return 401; } } - } \ No newline at end of file + } diff --git a/kubernetes/nginx-http/nginx-http-deploy.yml b/kubernetes/nginx-http/nginx-http-deploy.yml index 6f57de3..c691685 100644 --- a/kubernetes/nginx-http/nginx-http-deploy.yml +++ b/kubernetes/nginx-http/nginx-http-deploy.yml @@ -29,4 +29,4 @@ spec: name: nginx-http-cm - name: nginx-http-vol hostPath: - path: /var/nginxserver \ No newline at end of file + path: /var/nginxserver diff --git a/kubernetes/nginx-http/nginx-http-svc.yml b/kubernetes/nginx-http/nginx-http-svc.yml index 8f5a663..bb96e60 100644 --- a/kubernetes/nginx-http/nginx-http-svc.yml +++ b/kubernetes/nginx-http/nginx-http-svc.yml @@ -12,4 +12,4 @@ spec: protocol: TCP name: http selector: - app: nginx-http \ No newline at end of file + app: nginx-http diff --git a/kubernetes/portainer/templates/portainer-ingress.yml b/kubernetes/portainer/templates/portainer-ingress.yml index 2d6bd62..1431341 100644 --- a/kubernetes/portainer/templates/portainer-ingress.yml +++ b/kubernetes/portainer/templates/portainer-ingress.yml @@ -14,4 +14,4 @@ spec: service: name: portainer port: - number: 9000 \ No newline at end of file + number: 9000 diff --git a/kubernetes/portainer/values.yml b/kubernetes/portainer/values.yml index e69de29..8b13789 100644 --- a/kubernetes/portainer/values.yml +++ b/kubernetes/portainer/values.yml @@ -0,0 +1 @@ + diff --git a/kubernetes/templates/certificate.yaml b/kubernetes/templates/certificate.yaml index a48c792..f56d7d5 100644 --- a/kubernetes/templates/certificate.yaml +++ b/kubernetes/templates/certificate.yaml @@ -9,4 +9,4 @@ spec: name: ssl-issuer kind: ClusterIssuer dnsNames: - - your-hostname \ No newline at end of file + - your-hostname diff --git a/kubernetes/templates/cm-and-secrets/mysql-deploy.yml b/kubernetes/templates/cm-and-secrets/mysql-deploy.yml index fb098ea..413ab2a 100644 --- a/kubernetes/templates/cm-and-secrets/mysql-deploy.yml +++ b/kubernetes/templates/cm-and-secrets/mysql-deploy.yml @@ -30,4 +30,4 @@ spec: # volumes: # - name: mysql-vol # hostPath: -# path: /var/mysql-data \ No newline at end of file +# path: /var/mysql-data diff --git a/kubernetes/templates/cm-and-secrets/mysql-secret.yml b/kubernetes/templates/cm-and-secrets/mysql-secret.yml index 4d94b28..9c5f7c2 100644 --- a/kubernetes/templates/cm-and-secrets/mysql-secret.yml +++ b/kubernetes/templates/cm-and-secrets/mysql-secret.yml @@ -4,4 +4,4 @@ metadata: name: mysql-secret type: Opaque stringData: - root-pass: test123 \ No newline at end of file + root-pass: test123 diff --git a/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml b/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml index 672f5e6..2634376 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml @@ -25,4 +25,4 @@ data: return 401; } } - } \ No newline at end of file + } diff --git a/kubernetes/templates/cm-and-secrets/nginx-http-deploy.yml b/kubernetes/templates/cm-and-secrets/nginx-http-deploy.yml index 6f57de3..c691685 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-http-deploy.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-http-deploy.yml @@ -29,4 +29,4 @@ spec: name: nginx-http-cm - name: nginx-http-vol hostPath: - path: /var/nginxserver \ No newline at end of file + path: /var/nginxserver diff --git a/kubernetes/templates/cm-and-secrets/nginx-http-svc.yml b/kubernetes/templates/cm-and-secrets/nginx-http-svc.yml index 8f5a663..bb96e60 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-http-svc.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-http-svc.yml @@ -12,4 +12,4 @@ spec: protocol: TCP name: http selector: - app: nginx-http \ No newline at end of file + app: nginx-http diff --git a/kubernetes/templates/cm-and-secrets/nginx-https-secret-blank.yml b/kubernetes/templates/cm-and-secrets/nginx-https-secret-blank.yml index 8f9047c..105d83f 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-https-secret-blank.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-https-secret-blank.yml @@ -9,4 +9,4 @@ stringData: ... -----END CERTIFICATE----- server-key.pem: | - \ No newline at end of file + diff --git a/kubernetes/templates/cm-and-secrets/nginx-https-svc.yml b/kubernetes/templates/cm-and-secrets/nginx-https-svc.yml index 9660ae7..96c7134 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-https-svc.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-https-svc.yml @@ -16,4 +16,4 @@ spec: protocol: TCP name: https selector: - app: nginx-https \ No newline at end of file + app: nginx-https diff --git a/kubernetes/templates/ingress.yaml b/kubernetes/templates/ingress.yaml index 2ca6299..124a71c 100644 --- a/kubernetes/templates/ingress.yaml +++ b/kubernetes/templates/ingress.yaml @@ -15,4 +15,4 @@ spec: service: name: your-service-name # The name of the service port: - number: 80 # Service Portnumber \ No newline at end of file + number: 80 # Service Portnumber diff --git a/kubernetes/templates/namespace.yml b/kubernetes/templates/namespace.yml index 9e32a4c..3426e03 100644 --- a/kubernetes/templates/namespace.yml +++ b/kubernetes/templates/namespace.yml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: your-namespace \ No newline at end of file + name: your-namespace diff --git a/kubernetes/templates/pv-and-pvc/civo-pvc.yml b/kubernetes/templates/pv-and-pvc/civo-pvc.yml index 248bf7b..42f1d44 100644 --- a/kubernetes/templates/pv-and-pvc/civo-pvc.yml +++ b/kubernetes/templates/pv-and-pvc/civo-pvc.yml @@ -8,4 +8,4 @@ spec: storageClassName: civo-volume resources: requests: - storage: 1Gi \ No newline at end of file + storage: 1Gi diff --git a/kubernetes/templates/pv-and-pvc/civo-web.yml b/kubernetes/templates/pv-and-pvc/civo-web.yml index 83d549f..4245ae1 100644 --- a/kubernetes/templates/pv-and-pvc/civo-web.yml +++ b/kubernetes/templates/pv-and-pvc/civo-web.yml @@ -24,4 +24,4 @@ spec: volumes: - name: civo persistentVolumeClaim: - claimName: civo \ No newline at end of file + claimName: civo diff --git a/kubernetes/templates/pv-and-pvc/local-web.yml b/kubernetes/templates/pv-and-pvc/local-web.yml index 3980763..a841552 100644 --- a/kubernetes/templates/pv-and-pvc/local-web.yml +++ b/kubernetes/templates/pv-and-pvc/local-web.yml @@ -24,4 +24,4 @@ spec: volumes: - name: local hostPath: - path: /var/nginxserver \ No newline at end of file + path: /var/nginxserver diff --git a/kubernetes/templates/pv-and-pvc/nfs-pv.yml b/kubernetes/templates/pv-and-pvc/nfs-pv.yml index 43c8271..3276fa9 100644 --- a/kubernetes/templates/pv-and-pvc/nfs-pv.yml +++ b/kubernetes/templates/pv-and-pvc/nfs-pv.yml @@ -10,4 +10,4 @@ spec: storageClassName: nfs nfs: server: 192.168.1.7 - path: "/srv/nfs" \ No newline at end of file + path: "/srv/nfs" diff --git a/kubernetes/templates/pv-and-pvc/nfs-pvc.yml b/kubernetes/templates/pv-and-pvc/nfs-pvc.yml index 7e8cb5e..9315201 100644 --- a/kubernetes/templates/pv-and-pvc/nfs-pvc.yml +++ b/kubernetes/templates/pv-and-pvc/nfs-pvc.yml @@ -8,4 +8,4 @@ spec: storageClassName: nfs resources: requests: - storage: 100Mi \ No newline at end of file + storage: 100Mi diff --git a/kubernetes/templates/service.yaml b/kubernetes/templates/service.yaml index 14f0c94..72a7245 100644 --- a/kubernetes/templates/service.yaml +++ b/kubernetes/templates/service.yaml @@ -29,4 +29,4 @@ spec: # - name: http # port: 80 # targetPort: 30001 - # protocol: TCP # optional protocol \ No newline at end of file + # protocol: TCP # optional protocol diff --git a/kubernetes/traefik/templates/ingress.yml b/kubernetes/traefik/templates/ingress.yml index 6794fed..4f4f8d6 100644 --- a/kubernetes/traefik/templates/ingress.yml +++ b/kubernetes/traefik/templates/ingress.yml @@ -32,4 +32,4 @@ spec: # - hosts: # - your-hostname.com # Your hostname # secretName: your-secret # Your TLS Secret - # --- \ No newline at end of file + # --- diff --git a/kubernetes/traefik/templates/ingressroutetcp.yml b/kubernetes/traefik/templates/ingressroutetcp.yml index 18fe144..cd9752b 100644 --- a/kubernetes/traefik/templates/ingressroutetcp.yml +++ b/kubernetes/traefik/templates/ingressroutetcp.yml @@ -18,4 +18,4 @@ spec: # (Optional) TLS Passthrough # tls: # passthrough: true - # --- \ No newline at end of file + # --- diff --git a/packer/proxmox/ubuntu-server-focal-docker/files/99-pve.cfg b/packer/proxmox/ubuntu-server-focal-docker/files/99-pve.cfg index a78672c..e5477bc 100644 --- a/packer/proxmox/ubuntu-server-focal-docker/files/99-pve.cfg +++ b/packer/proxmox/ubuntu-server-focal-docker/files/99-pve.cfg @@ -1 +1 @@ -datasource_list: [ConfigDrive, NoCloud] \ No newline at end of file +datasource_list: [ConfigDrive, NoCloud] diff --git a/packer/proxmox/ubuntu-server-focal-docker/http/meta-data b/packer/proxmox/ubuntu-server-focal-docker/http/meta-data index e69de29..8b13789 100644 --- a/packer/proxmox/ubuntu-server-focal-docker/http/meta-data +++ b/packer/proxmox/ubuntu-server-focal-docker/http/meta-data @@ -0,0 +1 @@ + diff --git a/packer/proxmox/ubuntu-server-focal/files/99-pve.cfg b/packer/proxmox/ubuntu-server-focal/files/99-pve.cfg index a78672c..e5477bc 100644 --- a/packer/proxmox/ubuntu-server-focal/files/99-pve.cfg +++ b/packer/proxmox/ubuntu-server-focal/files/99-pve.cfg @@ -1 +1 @@ -datasource_list: [ConfigDrive, NoCloud] \ No newline at end of file +datasource_list: [ConfigDrive, NoCloud] diff --git a/packer/proxmox/ubuntu-server-focal/http/meta-data b/packer/proxmox/ubuntu-server-focal/http/meta-data index e69de29..8b13789 100644 --- a/packer/proxmox/ubuntu-server-focal/http/meta-data +++ b/packer/proxmox/ubuntu-server-focal/http/meta-data @@ -0,0 +1 @@ + diff --git a/packer/proxmox/ubuntu-server-jammy-docker/files/99-pve.cfg b/packer/proxmox/ubuntu-server-jammy-docker/files/99-pve.cfg index a78672c..e5477bc 100644 --- a/packer/proxmox/ubuntu-server-jammy-docker/files/99-pve.cfg +++ b/packer/proxmox/ubuntu-server-jammy-docker/files/99-pve.cfg @@ -1 +1 @@ -datasource_list: [ConfigDrive, NoCloud] \ No newline at end of file +datasource_list: [ConfigDrive, NoCloud] diff --git a/packer/proxmox/ubuntu-server-jammy-docker/http/meta-data b/packer/proxmox/ubuntu-server-jammy-docker/http/meta-data index e69de29..8b13789 100644 --- a/packer/proxmox/ubuntu-server-jammy-docker/http/meta-data +++ b/packer/proxmox/ubuntu-server-jammy-docker/http/meta-data @@ -0,0 +1 @@ + diff --git a/packer/proxmox/ubuntu-server-jammy/files/99-pve.cfg b/packer/proxmox/ubuntu-server-jammy/files/99-pve.cfg index a78672c..e5477bc 100644 --- a/packer/proxmox/ubuntu-server-jammy/files/99-pve.cfg +++ b/packer/proxmox/ubuntu-server-jammy/files/99-pve.cfg @@ -1 +1 @@ -datasource_list: [ConfigDrive, NoCloud] \ No newline at end of file +datasource_list: [ConfigDrive, NoCloud] diff --git a/packer/proxmox/ubuntu-server-jammy/http/meta-data b/packer/proxmox/ubuntu-server-jammy/http/meta-data index e69de29..8b13789 100644 --- a/packer/proxmox/ubuntu-server-jammy/http/meta-data +++ b/packer/proxmox/ubuntu-server-jammy/http/meta-data @@ -0,0 +1 @@ + diff --git a/terraform/helm/traefik.tf b/terraform/helm/traefik.tf index 7634ddc..66a0cbe 100644 --- a/terraform/helm/traefik.tf +++ b/terraform/helm/traefik.tf @@ -43,4 +43,4 @@ resource "helm_release" "traefik" { name = "tlsOptions.default.minVersion" value = "VersionTLS12" } -} \ No newline at end of file +} diff --git a/terraform/kubectl/manifest.tf b/terraform/kubectl/manifest.tf index 17285c5..878e0d2 100644 --- a/terraform/kubectl/manifest.tf +++ b/terraform/kubectl/manifest.tf @@ -4,4 +4,4 @@ resource "kubectl_manifest" "your-manifest-file" { # Put your Manifest-file Content right here... # ... YAML -} \ No newline at end of file +} diff --git a/terraform/kubernetes/deployment.tf b/terraform/kubernetes/deployment.tf index 3a5d388..814531d 100644 --- a/terraform/kubernetes/deployment.tf +++ b/terraform/kubernetes/deployment.tf @@ -38,4 +38,4 @@ resource "kubernetes_deployment" "your-deployment" { } } } -} \ No newline at end of file +} diff --git a/terraform/kubernetes/ingress.tf b/terraform/kubernetes/ingress.tf index 0e6263b..af8a152 100644 --- a/terraform/kubernetes/ingress.tf +++ b/terraform/kubernetes/ingress.tf @@ -36,4 +36,4 @@ resource "kubernetes_ingress_v1" "your-ingress" { # hosts = ["your-domain"] # } } -} \ No newline at end of file +} diff --git a/terraform/kubernetes/secret.tf b/terraform/kubernetes/secret.tf index f1b30cb..8ad2501 100644 --- a/terraform/kubernetes/secret.tf +++ b/terraform/kubernetes/secret.tf @@ -12,4 +12,4 @@ resource "kubernetes_secret" "cloudflare_api_key_secret" { } type = "Opaque" -} \ No newline at end of file +} diff --git a/terraform/kubernetes/service.tf b/terraform/kubernetes/service.tf index 7651733..cd40c53 100644 --- a/terraform/kubernetes/service.tf +++ b/terraform/kubernetes/service.tf @@ -16,4 +16,4 @@ resource "kubernetes_service" "your-service" { type = "ClusterIP" } -} \ No newline at end of file +} diff --git a/terraform/proxmox/credentials.auto.tfvars b/terraform/proxmox/credentials.auto.tfvars index 0282198..03bd182 100644 --- a/terraform/proxmox/credentials.auto.tfvars +++ b/terraform/proxmox/credentials.auto.tfvars @@ -1,3 +1,3 @@ proxmox_api_url = "https://0.0.0.0:8006/api2/json" # Your Proxmox IP Address proxmox_api_token_id = "terraform@pam!terraform" # API Token ID -proxmox_api_token_secret = "your-api-token-secret" \ No newline at end of file +proxmox_api_token_secret = "your-api-token-secret" diff --git a/terraform/proxmox/full-clone.tf b/terraform/proxmox/full-clone.tf index 57ef39a..a8e7430 100644 --- a/terraform/proxmox/full-clone.tf +++ b/terraform/proxmox/full-clone.tf @@ -46,4 +46,4 @@ resource "proxmox_vm_qemu" "your-vm" { # sshkeys = <