Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(default): upgrade obsidian-sync helmrelease and kustomization #1930

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes/main/apps/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ resources:
# Flux-Kustomizations
- ./hajimari
- ./minio
- ./obsidian-sync
- ./obsidian-sync/ks.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: obsidian-sync
namespace: default
spec:
secretStoreRef:
kind: ClusterSecretStore
Expand Down
15 changes: 15 additions & 0 deletions kubernetes/main/apps/default/obsidian-sync/app/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- externalsecret.yaml
- helmrelease.yaml
configMapGenerator:
- name: obsidian-sync-configmap
files:
- config.ini=resources/config.ini
generatorOptions:
disableNameSuffixHash: true
annotations:
kustomize.toolkit.fluxcd.io/substitute: disabled
23 changes: 23 additions & 0 deletions kubernetes/main/apps/default/obsidian-sync/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app obsidian-sync
namespace: flux-system
spec:
targetNamespace: home
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: external-secrets-stores
path: ./kubernetes/main/apps/default/obsidian-sync/app
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m
17 changes: 0 additions & 17 deletions kubernetes/main/apps/default/obsidian-sync/kustomization.yaml

This file was deleted.

This file was deleted.