fix zonedit dynamic ip for root xai-corp

This commit is contained in:
2023-09-19 22:26:11 -04:00
parent bfd4f6458f
commit ce77a5d779
9 changed files with 61 additions and 18 deletions

6
.idea/kubernetes-settings.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KubernetesSettings">
<option name="contextName" value="home" />
</component>
</project>

24
.idea/php-docker-settings.xml generated Normal file
View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpDockerContainerSettings">
<list>
<map>
<entry key="fa4e0308-7ccc-4081-a983-d54607fcc13f">
<value>
<DockerContainerSettings>
<option name="version" value="1" />
<option name="volumeBindings">
<list>
<DockerVolumeBindingImpl>
<option name="containerPath" value="/opt/project" />
<option name="hostPath" value="$PROJECT_DIR$" />
</DockerVolumeBindingImpl>
</list>
</option>
</DockerContainerSettings>
</value>
</entry>
</map>
</list>
</component>
</project>

View File

@@ -8,7 +8,7 @@ cubox-m ansible_ssh_host=192.168.4.15
[ns]
;home ansible_ssh_host=192.168.4.11
cubox-i ansible_ssh_host=192.168.4.12
cubox-m ansible_ssh_host=192.168.4.15
;cubox-m ansible_ssh_host=192.168.4.15
[gfs]
;home ansible_ssh_host=192.168.4.11

View File

@@ -9,9 +9,17 @@
- cron
when: ansible_os_family == "Debian"
- name: create zone edit cronjob
- name: xai-corp.net zone edit cronjob
cron:
name: zoneedit
name: xai-corp.net
minute: "*/35"
user: root
job: 'IP=`curl -s http://api.ipify.org` && wget -O - --http-user=rmorgan15 --http-passwd=D422B334D3768ACD "https://dynamic.zoneedit.com/auth/dynamic.html?host=xai-corp.net&dnsto=$IP" &>/dev/null'
cron_file: zoneedit
- name: test.xai-corp.net zone edit cronjob
cron:
name: test.xai-corp.net
minute: "*/45"
user: root
job: 'IP=`curl -s http://api.ipify.org` && wget -O - --http-user=rmorgan15 --http-passwd=D422B334D3768ACD "https://dynamic.zoneedit.com/auth/dynamic.html?host=test.xai-corp.net&dnsto=$IP" &>/dev/null'

View File

@@ -84,7 +84,7 @@ apps:
hello_world:
enabled: true
namespace: default
state: present
state: absent
funkwhale:
enabled: true

View File

@@ -1,7 +1,12 @@
---
# Funkwhale values
# https://gitlab.com/ananace/charts/-/tree/master/charts/funkwhale
# https://hub.docker.com/r/funkwhale/api
image:
registry: docker.io/funkwhale
tag: stable
pullPolicy: IfNotPresent
ingress:
enabled: true

View File

@@ -20,16 +20,16 @@ spec:
name: hello-world
port:
number: 80
- host: xai-corp.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hello-world
port:
number: 80
# - host: xai-corp.net
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: hello-world
# port:
# number: 80
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
- secretName: xai-corp-production-tls

View File

@@ -5,7 +5,7 @@
image:
repository: stashapp/stash
tag: v0.21.0
tag: v0.22.1
ingress:
main:

View File

@@ -7,13 +7,13 @@
## add helm repositories
#- include_tasks: add_repos.yml
#
- name: deploy cert_manager
include_tasks: cert_manager.yml
- name: deploy hello-world
include_tasks: deployments/hello-world.yaml
when: apps.hello_world.enabled
- name: deploy cert_manager
include_tasks: cert_manager.yml
- name: deploy stash
include_tasks: deployments/stash.yaml
when: apps.stash.enabled