Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Jun 30, 2024
1 parent 428d716 commit 14c2a29
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 68 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/flux-image-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ jobs:
id: extract-images
shell: bash
run: |
images=$(jo -a $(grep -vf default.txt pull.txt))
echo "images=${images}" >> $GITHUB_OUTPUT
echo "${images}"
echo "### Images" >> $GITHUB_STEP_SUMMARY
echo "${images}" | jq -r 'to_entries[] | "* \(.value)"' >> $GITHUB_STEP_SUMMARY
diff="$(grep -vf default.txt pull.txt)"
images="$(jo -a "${diff}")"
echo "images=${images}" >> "$GITHUB_OUTPUT"
# echo "${images}"
# echo "### Images" >> "$GITHUB_STEP_SUMMARY"
# echo "${images}" | jq -r 'to_entries[] | "* \(.value)"' >> "$GITHUB_STEP_SUMMARY"
test-images:
if: ${{ needs.extract-images.outputs.matrix != '[]' }}
Expand Down
9 changes: 5 additions & 4 deletions ansible/files/pikvm/override.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
####################################################################
# #
# Override Pi-KVM system settings. This file uses the YAML syntax. #
Expand All @@ -13,25 +14,25 @@
#########
# Wrong #
#########
#kvmd:
# kvmd:
# gpio:
# drivers: ...
#kvmd:
# kvmd:
# gpio:
# scheme: ...
#
###########
# Correct #
###########
#kvmd:
# kvmd:
# gpio:
# drivers: ...
# scheme: ...
#
###########
# Example #
###########
#vnc:
# vnc:
# # See https://github.com/pikvm/pikvm/blob/master/pages/vnc.md
# keymap: /usr/share/kvmd/keymaps/ru # Set russian keymap
# auth:
Expand Down
1 change: 1 addition & 0 deletions ansible/inventory/hosts.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ares:
hosts:
ares.zinn.tech:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/update-octopi-certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Update OctoPi Certificate
hosts: octopi
remote_user: pi
become: yes
become: true
tasks:
- name: Copy tls certificate
copy:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/update-pikvm-certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Update PiKVM Certificate
hosts: pikvm
remote_user: root
become: yes
become: true
tasks:
- name: read-write access
shell:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/update-pikvm-configuration.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Update PiKVM Configuration
hosts: pikvm
remote_user: root
become: yes
become: true
tasks:
- name: read-write access
shell:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/update-proxmox-certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Update Proxmox Certificate
hosts: "ares"
remote_user: root
become: yes
become: true
tasks:
- name: Copy certificate
copy:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/update-titan-certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Update Gatus Certificate
hosts: titan
remote_user: root
become: yes
become: true
tasks:
- name: Create directory (gatus)
file:
Expand Down
1 change: 1 addition & 0 deletions ansible/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# ansible-galaxy collection install -r requirements.yaml
collections:
- name: ansible.posix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ spec:
name: "*"
- kind: OCIRepository
name: "*"
# - kind: Terraform
# name: "*"
exclusionList:
- "error.*lookup github\\.com"
- "error.*lookup raw\\.githubusercontent\\.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ spec:
repository: ghcr.io/kashalls/external-dns-unifi-webhook
tag: v0.2.0@sha256:4f0d996ba6932f38e921b0717ba44cb58b7d687dcf6a55c9d3843396d23b22d1
env:
# - name: LOG_LEVEL
# value: "debug"
- name: UNIFI_HOST
value: https://10.0.0.1
- name: UNIFI_USER
Expand All @@ -46,8 +48,6 @@ spec:
secretKeyRef:
name: *secret
key: EXTERNAL_DNS_UNIFI_PASS
# - name: LOG_LEVEL
# value: "debug"
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ spec:
- name: DS_PROMETHEUS
value: Prometheus
- name: VAR_REPLICATIONDESTNAME
value: '.*-bootstrap'
value: ".*-bootstrap"
zfs:
# Ref: https://grafana.com/grafana/dashboards/7845
gnetId: 7845
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
nameReference:
- kind: ConfigMap
version: v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
kube-state-metrics:
fullnameOverride: kube-state-metrics
rbac:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,49 +152,3 @@ spec:
- regexp:
source: "(.*)"
target: "unifi_$1"
# - extract:
# key: authentik
# - extract:
# key: bazarr
# - extract:
# key: cloudflare
# - extract:
# key: grafana
# - extract:
# key: healthcheck
# - extract:
# key: home-assistant
# - extract:
# key: kapowarr
# - extract:
# key: kavita
# - extract:
# key: komga
# - extract:
# key: mylar
# - extract:
# key: nextdns
# - extract:
# key: overseerr
# - extract:
# key: paperless
# - extract:
# key: plex
# - extract:
# key: portainer
# - extract:
# key: prowlarr
# - extract:
# key: qbittorrent
# - extract:
# key: radarr
# - extract:
# key: readarr
# - extract:
# key: sabnzbd
# - extract:
# key: sonarr
# - extract:
# key: tautulli
# - extract:
# key: unifi
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ spec:
operator: Exists
effect: NoSchedule
prometheus:
enable: true
enable: true
1 change: 1 addition & 0 deletions kubernetes/staging/apps/media/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/staging/apps/monitoring/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ spec:
repository: ghcr.io/kashalls/external-dns-unifi-webhook
tag: v0.2.0@sha256:4f0d996ba6932f38e921b0717ba44cb58b7d687dcf6a55c9d3843396d23b22d1
env:
# - name: LOG_LEVEL
# value: "debug"
- name: UNIFI_HOST
value: https://10.0.0.1
- name: UNIFI_USER
Expand All @@ -46,8 +48,6 @@ spec:
secretKeyRef:
name: *secret
key: EXTERNAL_DNS_UNIFI_PASS
# - name: LOG_LEVEL
# value: "debug"
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit 14c2a29

Please sign in to comment.