File tree Expand file tree Collapse file tree 7 files changed +129
-3
lines changed
Expand file tree Collapse file tree 7 files changed +129
-3
lines changed Original file line number Diff line number Diff line change 2121 python-version : ' ^3.9'
2222
2323 - name : Configure caching (python)
24- uses : actions/cache@v2
24+ uses : actions/cache@v4
2525 with :
2626 path : ${{ env.pythonLocation }}
2727 key : ${{ env.pythonLocation }}-${{ hashFiles('test-requirements.txt') }}
3131 pip install --upgrade --upgrade-strategy eager -r test-requirements.txt
3232
3333 - name : Configure caching (pre-commit)
34- uses : actions/cache@v2
34+ uses : actions/cache@v4
3535 with :
3636 path : ~/.cache/pre-commit
3737 key : precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
5151 uses : actions/checkout@v2
5252
5353 - name : Configure caching
54- uses : actions/cache@v2
54+ uses : actions/cache@v4
5555 with :
5656 path : ~/.cache/bin
5757 key : kustomize-${{ runner.os }}-${{ env.KUSTOMIZE_VERSION }}
Original file line number Diff line number Diff line change 2020 - name : openstack-api-backup
2121 image : ghcr.io/nerc-project/openstack-api-backup:main
2222 imagePullPolicy : Always
23+ securityContext :
24+ allowPrivilegeEscalation : false
25+ runAsNonRoot : true
26+ capabilities :
27+ drop :
28+ - ALL
29+ seccompProfile :
30+ type : RuntimeDefault
2331 env :
2432 - name : HOME
2533 value : ' /tmp'
Original file line number Diff line number Diff line change 1+ ---
2+ namespace : openstack-api-backup
3+ resources :
4+ - ../../base
5+ - secrets
6+ - pvc.yaml
7+
8+ patchesStrategicMerge :
9+ - patches/patch-openstack-api-backup-cron.yaml
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : batch/v1
3+ kind : CronJob
4+ metadata :
5+ name : openstack-api-backup
6+ namespace : openstack-api-backup
7+ spec :
8+ schedule : 35 * * * *
9+ jobTemplate :
10+ spec :
11+ template :
12+ spec :
13+ containers :
14+ - name : openstack-api-backup
15+ env :
16+ - name : S3_ENDPOINT
17+ valueFrom :
18+ $patch : replace
19+ secretKeyRef :
20+ name : openstack-api-backup
21+ key : s3_endpoint
22+ - name : S3_BUCKET_URI
23+ valueFrom :
24+ $patch : replace
25+ secretKeyRef :
26+ name : openstack-api-backup
27+ key : s3_bucket_uri
28+ - name : BACKUP_ROTATE
29+ valueFrom :
30+ $patch : replace
31+ secretKeyRef :
32+ name : openstack-api-backup
33+ key : backup_rotate
34+ - name : OS_AUTH_TYPE
35+ value : v3applicationcredential
36+ - name : OS_AUTH_URL
37+ valueFrom :
38+ $patch : replace
39+ secretKeyRef :
40+ name : openstack-api-backup
41+ key : os_auth_url
42+ - name : OS_APPLICATION_CREDENTIAL_ID
43+ valueFrom :
44+ $patch : replace
45+ secretKeyRef :
46+ name : openstack-api-backup
47+ key : os_application_credential_id
48+ - name : OS_APPLICATION_CREDENTIAL_SECRET
49+ valueFrom :
50+ $path : replace
51+ secretKeyRef :
52+ name : openstack-api-backup
53+ key : os_application_credential_secret
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : v1
3+ kind : PersistentVolumeClaim
4+ metadata :
5+ name : openstack-api-backup
6+ spec :
7+ accessModes :
8+ - ReadWriteOnce
9+ resources :
10+ requests :
11+ storage : 2Gi
Original file line number Diff line number Diff line change 1+ ---
2+ resources :
3+ - openstack-api-backup.yaml
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : external-secrets.io/v1alpha1
3+ kind : ExternalSecret
4+ metadata :
5+ name : openstack-api-backup
6+ namespace : openstack-api-backup
7+ spec :
8+ refreshInterval : " 15s"
9+ secretStoreRef :
10+ name : vault-backend
11+ kind : ClusterSecretStore
12+ target :
13+ name : openstack-api-backup
14+ data :
15+ - secretKey : aws_credentials
16+ remoteRef :
17+ key : accounts/holecs
18+ property : awscli_credentials
19+ - secretKey : backup_rotate
20+ remoteRef :
21+ key : openstack-api-backup/config
22+ property : backup_rotate
23+ - secretKey : s3_endpoint
24+ remoteRef :
25+ key : openstack-api-backup/config
26+ property : s3_endpoint
27+ - secretKey : s3_bucket_uri
28+ remoteRef :
29+ key : openstack-api-backup/config
30+ property : s3_bucket_uri
31+ - secretKey : os_auth_url
32+ remoteRef :
33+ key : openstack-api-backup/config
34+ property : os_auth_url
35+ - secretKey : os_application_credential_id
36+ remoteRef :
37+ key : openstack-api-backup/config
38+ property : os_application_credential_id
39+ - secretKey : os_application_credential_secret
40+ remoteRef :
41+ key : openstack-api-backup/config
42+ property : os_application_credential_secret
You can’t perform that action at this time.
0 commit comments