From 56fe7618fb0574f0847da766fcbd6c5f499484c6 Mon Sep 17 00:00:00 2001 From: Robert Burgess Date: Fri, 16 Aug 2024 16:57:57 -0400 Subject: [PATCH] update kx3dex version and add SS --- apps/kx3dex-radio/deployment.yaml | 2 +- apps/simplysyncedllc_com/deployment.yaml | 60 +++++++++++++++++++++ apps/simplysyncedllc_com/kustomization.yaml | 6 +++ apps/simplysyncedllc_com/secrets.yaml | 29 ++++++++++ 4 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 apps/simplysyncedllc_com/deployment.yaml create mode 100644 apps/simplysyncedllc_com/kustomization.yaml create mode 100644 apps/simplysyncedllc_com/secrets.yaml diff --git a/apps/kx3dex-radio/deployment.yaml b/apps/kx3dex-radio/deployment.yaml index f2f1d86..cbe3e1e 100644 --- a/apps/kx3dex-radio/deployment.yaml +++ b/apps/kx3dex-radio/deployment.yaml @@ -31,7 +31,7 @@ spec: spec: containers: - name: kx3dex-radio-site - image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.0 + image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.5 ports: - containerPort: 3000 ingress: diff --git a/apps/simplysyncedllc_com/deployment.yaml b/apps/simplysyncedllc_com/deployment.yaml new file mode 100644 index 0000000..9d5d665 --- /dev/null +++ b/apps/simplysyncedllc_com/deployment.yaml @@ -0,0 +1,60 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: simplysyncedllc-com +--- +apiVersion: v1 +kind: Service +metadata: + name: simplysyncedllc-com-svc +spec: + selector: + app: SimplySyncedLLC_com + ports: + - protocol: TCP + port: 3000 + targetPort: 3000 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simplysyncedllc-com +spec: + selector: + matchLabels: + app: SimplySyncedLLC_com + replicas: 2 + template: + metadata: + labels: + app: SimplySyncedLLC_com + spec: + containers: + - name: simplysyncedllc-com-site + image: gitea.simplysyncedllc.com/dex/ss_website:1.1.0 + ports: + - containerPort: 3000 + ingress: + enabled: true + className: nginx +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: simplysyncedllc-com-ingress + namespace: simplysyncedllc-com + annotations: + nginx.ingress.kubernetes.io/rewrite-target: / +spec: + ingressClassName: nginx + rules: + - host: simplysyncedllc.com + http: + paths: + - backend: + service: + name: simplysyncedllc-com-svc + port: + number: 3000 + path: / + pathType: ImplementationSpecific diff --git a/apps/simplysyncedllc_com/kustomization.yaml b/apps/simplysyncedllc_com/kustomization.yaml new file mode 100644 index 0000000..87bbf71 --- /dev/null +++ b/apps/simplysyncedllc_com/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: simplysyncedllc-com +resources: +- secrets.yaml +- deployment.yaml diff --git a/apps/simplysyncedllc_com/secrets.yaml b/apps/simplysyncedllc_com/secrets.yaml new file mode 100644 index 0000000..386f53e --- /dev/null +++ b/apps/simplysyncedllc_com/secrets.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Secret +metadata: + name: simplysyncedllc-com-secrets + namespace: simplysyncedllc-com +stringData: + NEXT_PUBLIC_SENDGRID_API_KEY: ENC[AES256_GCM,data:IqmBfbGQO8ePtH7VnxS3ACFXwisaQVfVtEZuOR1kNerOlZOT+sCUKDh2UxNIUCFdj9GV7azI+X8UypmUSXQrkltD1H1J,iv:zNvvVz4Jv+CXmaWZsQ3Wze1xp0czgxk/iY3KjUqKZJA=,tag:QFpAk193dFxVw8sleOLAYQ==,type:str] + NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ENC[AES256_GCM,data:BZjUSItnG+f8Y0y6JlVqEYkmWgWlWMtRb2lZerJLmg6n2ocIjB8gAA==,iv:1wnTTAlfZy9HKB55x9vwPGGSAXvVGircwOhAewDkNN8=,tag:XGvnYS6usOMLc3Ix4ov3Rg==,type:str] + NEXT_PUBLIC_RECAPTCHA_SECRET_KEY: ENC[AES256_GCM,data:tVK6dZ17VLRl1baDiESv/2MH6RsDjLict7KdYEl4Ej1gqnR9+FeWeQ==,iv:kElZGzhdbgwDJAPweeOPraNfDYFC0cJUwVUPenLmPyE=,tag:zwpytJrNxE9+GAkWaMK/9A==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1t4epxq5lzcnyj4xjav9jgnvnyaucyk243y4np9h78fx3k8lc55lqv6uu4z + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBtNzJvRWlmWWk0TWdIdEtz + UXNtZ21pc2V1QS9mVnFhbElnNGVqUjJNNUhrCnl3aDBlWUYrYnhUTDRMd0ljV1Vm + YmxINTFTb0E1bUlsNXk3SUQ5MmpIRHcKLS0tIHBHVUFEU3R5dkpDUForcnNOQnkz + Vkg5UzN4N1FoWDV0LzlJZXA1bkRlOXMK0h2PBhVu6C5ALvkVVp8WaCykdWH9yH0B + KzpAEI0PjlDtQbKKInnet30WZLWRhYDjUXd54BohXP4mqL5n9Srrlg== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2024-08-16T20:46:53Z" + mac: ENC[AES256_GCM,data:KeGgvCzJbyMfiL7QxUiLqDatyDor0zr9bm4CyOouQgvx5ceVUSR6Jl91lTEH/vZy7wPmUhUJbOFbWrWZwLx/nYJx111Ly1gyXBzMpgnkJH0UxZJ/FJMehI6u0/hU37Bd8k7V/eB87Drrhu4PpIyJ1QJTAfynp+oN6BxGXz35Z70=,iv:sd+7986MIH5YLJknfgC2nhoYjxTK02djiBGQiXE5PvY=,tag:BVOI+HFTvu6GN++0vgzS/Q==,type:str] + pgp: [] + encrypted_regex: ^(stringData|token)$ + version: 3.9.0