Skip to content

Commit

Permalink
feat(cloudflare-ddns): MicroShift
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurVardevanyan committed Dec 23, 2024
1 parent f1e456e commit 98a246c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions kubernetes/argocd/applications/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ resources:
- ./microshift/kube-eagle.yaml
- ./microshift/external-secrets-operator.yaml
- ./microshift/stackrox-secure.yaml
- ./microshift/cloudflare-ddns.yaml
# - ./microshift/kyverno.yaml
28 changes: 28 additions & 0 deletions kubernetes/argocd/applications/microshift/cloudflare-ddns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cloudflare-ddns-microshift
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
notifications.argoproj.io/subscribe.on-sync-succeeded.gh-cluster: ""
notifications.argoproj.io/subscribe.on-sync-failed.gh-cluster: ""
notifications.argoproj.io/subscribe.on-sync-status-unknown.gh-cluster: ""
notifications.argoproj.io/subscribe.on-health-degraded.gh-cluster: ""
labels:
app.kubernetes.io/instance: argocd
spec:
destination:
namespace: cloudflare-ddns
server: https://microshift.arthurvardevanyan.com:6443
project: default
source:
path: kubernetes/cloudflare-ddns/overlays/microshift
repoURL: https://git.arthurvardevanyan.com/ArthurVardevanyan/HomeLab
targetRevision: HEAD
plugin:
name: argocd-vault-plugin-kustomize
syncPolicy:
syncOptions:
- CreateNamespace=true
2 changes: 2 additions & 0 deletions kubernetes/cloudflare-ddns/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ spec:
value: "<path:secret/data/gitlab/cloudflare#api>"
- name: DOMAINS
value: "homelab.arthurvardevanyan.com"
- name: IP6_PROVIDER
value: "none"
12 changes: 12 additions & 0 deletions kubernetes/cloudflare-ddns/overlays/microshift/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- target:
kind: Deployment
name: cloudflare-ddns
patch: |-
- op: replace
path: /spec/replicas
value: 1
2 changes: 1 addition & 1 deletion kubernetes/postgres/components/pg_admin/pg_admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 5Gi
resources:
limits:
cpu: 250m
Expand Down

0 comments on commit 98a246c

Please sign in to comment.