Update CUSTOM-README.md
This commit is contained in:
@@ -216,3 +216,36 @@ postgresql:
|
||||
# storageClass: "" # 생성할 볼륨의 storageClass를 설정한다.
|
||||
```
|
||||
|
||||
|
||||
## 6. Infisical 서비스 연동
|
||||
|
||||
``` yaml
|
||||
---
|
||||
apiVersion: secrets.infisical.com/v1alpha1
|
||||
kind: InfisicalSecret
|
||||
metadata:
|
||||
name: infisicalsecret-git # 고유한 이름으로 사용자 정의
|
||||
namespace: infisical
|
||||
labels:
|
||||
label-to-be-passed-to-managed-secret: test-git-secret # 고유한 이름으로 사용자 정의 (아래 annotations값과 동일)
|
||||
annotations:
|
||||
example.com/annotation-to-be-passed-to-managed-secret: "test-git-secret" # 고유한 이름으로 사용자 정의 (위의 label값과 동일)
|
||||
spec:
|
||||
hostAPI: http://infisical-infisical-standalone-infisical.infisical.svc.cluster.local:8080/api # Infisical API
|
||||
resyncInterval: 10
|
||||
authentication:
|
||||
kubernetesAuth:
|
||||
identityId: 5ffaf885-7df2-4c75-a3a5-292a996aa3d7 # Infisical에서 생성한 값
|
||||
serviceAccountRef:
|
||||
name: infisical-auth
|
||||
namespace: infisical
|
||||
secretsScope:
|
||||
projectSlug: project1-9j-pp # 프로젝트 GET
|
||||
envSlug: dev # 프로젝트 GET
|
||||
secretsPath: "/system/gitea" # 시크릿의 경로정의
|
||||
recursive: true
|
||||
managedSecretReference:
|
||||
secretName: gitea-user-secret # 생성할 시크릿 이름(values.yaml와 특정 이름으로 맞추면 변경하지 않아도됨)
|
||||
secretNamespace: test-git # Gitea가 배포될 네임스페이스 (네임스페이스가 사전에 생성되어 있어야함)
|
||||
creationPolicy: "Orphan" ## Owner | Orphan
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user