add secret for gh

master
Robert Burgess 2024-08-21 01:06:50 -04:00
parent a37302268a
commit 2e477239fb
3 changed files with 46 additions and 1 deletions

View File

@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: simplysyncedllc-com-site
image: ghcr.io/simplysynced/simplysyncedllc_website:latest
image: gitea.simplysyncedllc.com/dex/ss_website:1.2.0
ports:
- name: http
containerPort: 3000

View File

@ -0,0 +1,17 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: github
namespace: flux-system
spec:
decryption:
provider: sops
secretRef:
name: sops-age
interval: 60s
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/github
prune: true
wait: true

View File

@ -0,0 +1,28 @@
apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
name: github-registry-key
namespace: flux-system
data:
.dockerconfigjson: eyBhdXRoczogeyBnaGNyLmlvOiB7IGF1dGg6IFZWTkZVazVCVFVVNloyaHdYMkUwZFVOclZGRlJOMkUwVUZCMFpFZEhSRTFCZVdwNFVrMTZiRFpNWkRSRGFGZ3pUZz09IH0gfSB9
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-21T05:06:18Z"
mac: ENC[AES256_GCM,data:RaGnJqLNsUot0/JFYPSKLY5p0x3vRAg2ptWDAvq7TUX6v88Wi7GYi6eQD5o2RlHnp5JlWoQ1mKU0iZVqyx/VbA3V1uaqqc8MegfCWrYFj9KeGE32QF6OYp/cQji0/X66iEOsVD/wiEBBaoVGxE8LfUcbDZivT0Ovi486JqNIXZg=,iv:to3i9jB595stzrnOnBfMH9cLaxgDksrYyk83XBDndP8=,tag:yrBl91QW6ca4X75QWL6qMg==,type:str]
pgp: []
encrypted_regex: ^(stringData|token)$
version: 3.9.0