Compare commits
No commits in common. "1e130267b9cde25eabfd88ba2f7191e610fcd25c" and "393c8f7daa657b76ed85e35d4790f9357f96d323" have entirely different histories.
1e130267b9
...
393c8f7daa
3 changed files with 14 additions and 42 deletions
|
@ -1,31 +0,0 @@
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Go
|
|
||||||
uses: https://code.forgejo.org/actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.22.3'
|
|
||||||
- name: Output File
|
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: dnsimple-api-token
|
|
||||||
namespace: basic-present-record
|
|
||||||
stringData:
|
|
||||||
api-token: $API_TOKEN" > testdata/dnsimple/dnsimple-secret.yaml
|
|
||||||
env:
|
|
||||||
API_TOKEN: ${{ secrets.API_TOKEN }}
|
|
||||||
- name: Test
|
|
||||||
run: make test TEST_ZONE_NAME=${{ secrets.TEST_ZONE_NAME }}
|
|
||||||
- name: Clean up
|
|
||||||
run: rm -f testdata/dnsimple/dnsimple-secret.yaml
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: testdata/.*\.sops\.ya?ml
|
- path_regex: testdata/dnsimple/.*\.sops\.ya?ml
|
||||||
encrypted_regex: "^(data|stringData)$"
|
encrypted_regex: "^(data|stringData)$"
|
||||||
# Cert-Manager-Test
|
# Cert-Manager-Test
|
||||||
age: >-
|
age: >-
|
||||||
age18kj3xhlvgjeg2awwku3r8d95w360uysu0w5ejghnp4kh8qmtge5qwa2vjp
|
age10z089ltez8yuerju86k6aqd9vrmecm5gyn6gxmj68em0ztnyj46sd9840z
|
||||||
|
|
21
testdata/dnsimple-secret.sops.yaml
vendored
21
testdata/dnsimple-secret.sops.yaml
vendored
|
@ -4,24 +4,27 @@ metadata:
|
||||||
name: dnsimple-api-token
|
name: dnsimple-api-token
|
||||||
namespace: basic-present-record
|
namespace: basic-present-record
|
||||||
stringData:
|
stringData:
|
||||||
api-token: ENC[AES256_GCM,data:f1s9tQVLIZIYD4pgA1RLUh54oG2ffFF9LUcrUT0GGrmMKUEQuMX3YJJesQ==,iv:3i4Y//FvBNTspXhh//wsXvwca7P+YammbDy8VlCtDVM=,tag:m2+PojxxkJuUTY9ojW6IKg==,type:str]
|
#ENC[AES256_GCM,data:s6XpXBkiPEb3n+pqCz7bSJQ=,iv:TlPSJXxh/At1vaDJKdXGSImv8/UqUSPauSfh7z4Z8uU=,tag:bW+URfs7HbgPmVlp4Z+/fw==,type:comment]
|
||||||
|
#ENC[AES256_GCM,data:J/fjzPD0Rj84GdxOvTopvaEeDLquugLVCezxjiMHhJA5W3k/KbCcycJNOJaj6BKf3L8jJTMAMc6NDMr5Ng==,iv:5bPxLXiDuOlSSPOdztgwedtvxv0odq0+kTODjWPFyX8=,tag:o7EnpU4tHBxy1HaHBAl5bg==,type:comment]
|
||||||
|
#ENC[AES256_GCM,data:OJnwJTuX2olquBix8IY=,iv:TVGNA76LYAPDcZtkkiKIWIEZ+6w4ga4MGhqyTOO8Tuk=,tag:DoCsETByFWw2P4yqcfKLow==,type:comment]
|
||||||
|
api-token: ENC[AES256_GCM,data:akxH4nXY3l8UJ90VW0Pk0sfAYeEO+34WJ+y/KaR6lI+Ny93ksfhh5YvDzA==,iv:+30VKChTo3HHedN0Ltf395J3p4JaoPzWYbyRXzmv0Ek=,tag:8KLJYev9BKWLwu0cAkZq6Q==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
azure_kv: []
|
azure_kv: []
|
||||||
hc_vault: []
|
hc_vault: []
|
||||||
age:
|
age:
|
||||||
- recipient: age18kj3xhlvgjeg2awwku3r8d95w360uysu0w5ejghnp4kh8qmtge5qwa2vjp
|
- recipient: age10z089ltez8yuerju86k6aqd9vrmecm5gyn6gxmj68em0ztnyj46sd9840z
|
||||||
enc: |
|
enc: |
|
||||||
-----BEGIN AGE ENCRYPTED FILE-----
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByZWRHNlBRUGdaT2RLL0t6
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHbWc1anVLelZKa3FKTXVW
|
||||||
MFhXZDQrOThqZC96S2VUeDlhUXdreldLQ2hBCmVtOVdSMFBCamZnUGdUMjQ4K0Nk
|
eDQ1WGpzZkVFK1FMaGk1MmhPclE3d0h6bkRnCmF4U0dnandmdTRuN085WUpKQTFZ
|
||||||
MjB1ZytGT1NzRHlGdm9rOElYT2NBblUKLS0tIDdjQm9zbHZPaGtOUGowckVNdkN1
|
NHorRW1mVXhtUStUaWh1QTFKZlRaZG8KLS0tIHVmZkg5SnMrWVRCRlRlaTU3bDd2
|
||||||
Q01EdjhPaWcrZWg1QW5OYnVEMGRMcTgK8Pbn8JLKKfIJgFyOvfTkSlHWd4+g8b3r
|
d1pyanBkYWk4Q25UL1JwWFlTRTZlWkUKDwfj4bVfu6OSJGP9GePhTQZ5HzjG+0It
|
||||||
nEzKfF77Cjne1ppAr4MPdBZO7xIXq0BE3iOhdp5T+uCOGxAyqkadow==
|
ndxQHaRurb28g63JK0KVKlIOzxrZqijlmAaCtdK25WXEV77vS9rqWg==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2024-05-15T15:49:24Z"
|
lastmodified: "2024-04-02T18:25:19Z"
|
||||||
mac: ENC[AES256_GCM,data:cE7z9aAHzx3n1UJU0ZgSIw7Rzp20W/V9WNnZxRmswX4i0WPq58IX1Sg24745V/xh/KrCTQdlQWEBpxlHQ6O/jtK78n+XvNo6JFFZ51FXxjQRWPQPw7HMU5ULOJw90Y8hpZ6mSjMa593ZtLzTumlKt/LcFcMt/XKq2vL0zYuswpM=,iv:XKLHE4xEAHcv4jZPXOC4c6iOOIlKcCTfFgfdorW3nFA=,tag:Qp6eRqHnzWIPWVR8YMD6ng==,type:str]
|
mac: ENC[AES256_GCM,data:GHUNQNN7811QEJ94IPRTopWLxJJMtMx3SQ5bGwMf5AWv6Xd5t7hqgsnzobGWHQv36iWfs2HkhH8muzm0XRHWnMIe1a6gvW2ZfkiEaoldKMYzX2/KjZ9YYsg7RzTAiat/rJlp4iaPJAmP4r6RqqWXe5QMJRorAFSAqhQAYr/oB+g=,iv:AkKILisDDsQZCOTg7hwUDnSOq60sgOOoR4exWUBR8rU=,tag:qomsH2u4ZSeCO5iHa/7Bqg==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
encrypted_regex: ^(data|stringData)$
|
encrypted_regex: ^(data|stringData)$
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
Loading…
Reference in a new issue