Skip to content

Commit

Permalink
fix: remove email from cert-manager, update ks namespace (#93)
Browse files Browse the repository at this point in the history
* fix: remove email from cert-manager

- ref: onedr0p/cluster-template#1738

* update flux local diff workflow

ref: onedr0p/cluster-template#1742

* update ns

* patch actions-runner-system kustomization
  • Loading branch information
slipperypenguin authored Feb 4, 2025
1 parent af7ea20 commit 0846459
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/flux-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
strategy:
matrix:
resources: ["helmrelease", "kustomization"]
Expand Down
8 changes: 8 additions & 0 deletions kubernetes/apps/actions-runner-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ resources:
- ./actions-runner-controller/ks.yaml
components:
- ../../flux/components/namespace
patches:
- # Add the name to the namespace
patch: |
- op: add
path: /metadata/name
value: actions-runner-system
target:
kind: Namespace
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: "${SECRET_ACME_EMAIL}"
privateKeySecretRef:
name: letsencrypt-production
solvers:
Expand All @@ -28,7 +27,6 @@ metadata:
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: "${SECRET_ACME_EMAIL}"
privateKeySecretRef:
name: letsencrypt-staging
solvers:
Expand Down
9 changes: 8 additions & 1 deletion kubernetes/apps/rook-ceph/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: rook-ceph
resources:
- ./rook-ceph/ks.yaml
components:
- ../../flux/components/namespace
patches:
- # Add the name to the namespace
patch: |
- op: add
path: /metadata/name
value: rook-ceph
target:
kind: Namespace
9 changes: 8 additions & 1 deletion kubernetes/apps/volsync-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: volsync-system
resources:
- ./snapshot-controller/ks.yaml
components:
- ../../flux/components/namespace
patches:
- # Add the name to the namespace
patch: |
- op: add
path: /metadata/name
value: volsync-system
target:
kind: Namespace
1 change: 0 additions & 1 deletion kubernetes/flux/meta/settings/cluster-secrets.sops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
namespace: flux-system
stringData:
SECRET_DOMAIN: ENC[AES256_GCM,data:FaP82Zuy3Mw=,iv:EJWjLj68M6BqOTSWrwwT2+CLufGV3t8jBhTUwvE2Tpg=,tag:CjV/RXVFDqMGqDS/HKf+QA==,type:str]
SECRET_ACME_EMAIL: ENC[AES256_GCM,data:CEMUruyUygJc3AUlXEQ=,iv:BTwmvetmxiRW3DhZ6NbDGbHIqH9LYCRruXBZ8PX/Tm4=,tag:pfdCwxsP0vfU5+VTPwwqUw==,type:str]
SECRET_CLOUDFLARE_TUNNEL_ID: ENC[AES256_GCM,data:oEEJdFQ3l6s/LoG17jTr5KgSBcD4PKWVuEA50SDTpddllG4Q,iv:T5vg4+II9qbBxExDccKcARjXJLhd36bUKC+4f+cBSO8=,tag:S6tdw9a64WD2kKu+C0DvjA==,type:str]
sops:
kms: []
Expand Down

0 comments on commit 0846459

Please sign in to comment.