Skip to content

Commit

Permalink
move ext sec to sec ns
Browse files Browse the repository at this point in the history
  • Loading branch information
spiceratops committed Jun 8, 2024
1 parent 6dd27fb commit 3c93493
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: external-secrets
namespace: kube-system
namespace: security
spec:
interval: 30m
timeout: 15m
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security
resources:
- ./helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ metadata:
name: &appname external-secrets
namespace: flux-system
spec:
targetNamespace: kube-system
targetNamespace: security
commonMetadata:
labels:
app.kubernetes.io/name: *appname
path: ./kubernetes/apps/kube-system/external-secrets/app
path: ./kubernetes/apps/security/external-secrets/app
prune: false
sourceRef:
kind: GitRepository
Expand All @@ -25,13 +25,13 @@ metadata:
name: &appname external-secrets-stores
namespace: flux-system
spec:
targetNamespace: kube-system
targetNamespace: security
commonMetadata:
labels:
app.kubernetes.io/name: *appname
dependsOn:
- name: external-secrets
path: ./kubernetes/apps/kube-system/external-secrets/stores
path: ./kubernetes/apps/security/external-secrets/stores
prune: false
sourceRef:
kind: GitRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: onepassword-connect
namespace: kube-system
namespace: security
spec:
provider:
onepassword:
connectHost: http://onepassword-connect.kube-system.svc.cluster.local:8080
connectHost: http://onepassword-connect.security.svc.cluster.local:8080
vaults:
sc-secrets: 1
auth:
secretRef:
connectTokenSecretRef:
name: onepassword-connect-secret
key: token
namespace: kube-system
namespace: security
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: onepassword-connect
namespace: kube-system
namespace: security
spec:
interval: 30m
timeout: 15m
Expand All @@ -16,7 +16,7 @@ spec:
name: 1password-charts
namespace: flux-system
values:
namespace: kube-system
namespace: security
connect:
credentialsName: onepassword-connect-secret
credentialsKey: 1password-credentials.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security
resources:
- ./secret.sops.yaml
- ./helmrelease.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: onepassword-connect-secret
namespace: kube-system
namespace: security
stringData:
1password-credentials.json: ENC[AES256_GCM,data:/i2ByL+eX5evCHU5eIXbkbDfI6cp6MrAlcf9HP1IR+MKhUsUl8UDI13gKHbBSW+np2irt9h8NExrRAgKNOQJfPU79I/VRLnyuz9Z0nullP49gb6iiN8K97wqsKoNt3BG4aXKUabm9sZA+2COCn5MZL8v9/vdkbQ/68pInR6PHHRdcuLFZ77ZeHLSVyT7mjEy3Vb6N1azbxDme+Pv7sHsts0eM3bYlNZ1don2wdxRo8H1zC3tvu0aBBF789W1ardqwhdu2UdB8aiasewJvFcPJ/gOJW9e/NPqymyqR59iZBarO427g2kTVrH70qMJszKsAkxnXZuxTmsol5wR9cWdcM5rn9E79xigrGacZ4SNE8FAMNMj1kmPTt7mXh44G+no/Zj4JWATPGmMO2Cv/2swk0QUBy21PNF6moDlAFqcPjvqT+U2tRupScRd8BG/qOeKFUBDg8P53yZfC46gVOMq4HE3PPGdDWwe1PZ0uV6FIt38mxg0Haf7Iqzi+GQECXMUZaqoX1mdqA2Q9IplhMZZsX8PYYlq8krHqfl+zw8I2DjI63Mo07bf4iFkjMxFccnnn5UG+i4a9XSZJeSGMRUCD1VzRddhTzquWjKVSQtBbThtOecXNsL5kudoW7+KtyLuPHSceiycdwYtwpJ6lS/U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SXyzto0vv5JQlmSuB1nC082LxP6v67K7MtBoiqpqhKLcJn38y47yUrBomwSTuCQ==,iv:ZoSeyXi0TeQdnM7eQ9lldt+bqCwVpTOeQmZIWPYxixs=,tag:Pevm6SswQ3wWyV2e9eFvMQ==,type:str]
Expand All @@ -14,13 +14,13 @@ sops:
age:
- recipient: age153gpfdw58csvgxj3vn9ym2g3zx7mfhaldyz5uvvrfajne8htj3asjqrp7h
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBlaXJkelRRRUxySkFOZlZs
UTNnakhjcit4akhwYkdIUUJNdHJnWmh4bEE4CnBmWGd0N29jQ3RVVVBYL25yOWV3
UEdjak0vWG1FdGNUemN2VFNiNVhUVHMKLS0tIE9vYkZiaUdCUFVCZUFlb3lBSDht
aVprSGo0Qlp6b294T1hPQmIwTS9UeWcKXKI9w4Na0HunR5EX+2gUhI4SzlCrYwtn
uw17ieNU3P14Syi3NbQTL4RC0rjO2r4ouL2yBnHB+1r96MbPSKldzQ==
-----END AGE ENCRYPTED FILE-----
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBlaXJkelRRRUxySkFOZlZs
UTNnakhjcit4akhwYkdIUUJNdHJnWmh4bEE4CnBmWGd0N29jQ3RVVVBYL25yOWV3
UEdjak0vWG1FdGNUemN2VFNiNVhUVHMKLS0tIE9vYkZiaUdCUFVCZUFlb3lBSDht
aVprSGo0Qlp6b294T1hPQmIwTS9UeWcKXKI9w4Na0HunR5EX+2gUhI4SzlCrYwtn
uw17ieNU3P14Syi3NbQTL4RC0rjO2r4ouL2yBnHB+1r96MbPSKldzQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-04-14T13:09:40Z"
mac: ENC[AES256_GCM,data:eW0CmHUGsyuDR3t1/6StrVkPt8MikHq0Jpb/GyWRxaOXcOzIUYwNDHIeDQxDB+Zx3KQFeEHo2FcmeuCv9O0+YdC1+ft8GE5fmsk9AfzTtpwForjlKbVsvTVlaW/TmJrNtFyMlIp0D7S1WEEYoIRE7bTTKC6En6vyqXk7h++PfqM=,iv:5h3btZ/BJZXHcn19Wq8gFArAlo9nhzmes5FmfJT/KWc=,tag:vXXHbH6MzwGZzHXc1T+lQQ==,type:str]
pgp: []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
namespace: security
resources:
- ./1password

0 comments on commit 3c93493

Please sign in to comment.