apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-admin-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-admin-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: username remoteRef: key: /cl01tl/gitea/auth/admin property: username - secretKey: password remoteRef: key: /cl01tl/gitea/auth/admin property: password --- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-oidc-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-oidc-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: secret remoteRef: key: /authentik/oidc/gitea property: secret - secretKey: key remoteRef: key: /authentik/oidc/gitea property: client --- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-runner-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-runner-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: token remoteRef: key: /cl01tl/gitea/runner property: token --- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-renovate-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-renovate-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: RENOVATE_ENDPOINT remoteRef: key: /cl01tl/gitea/renovate property: RENOVATE_ENDPOINT - secretKey: RENOVATE_GIT_AUTHOR remoteRef: key: /cl01tl/gitea/renovate property: RENOVATE_GIT_AUTHOR - secretKey: RENOVATE_TOKEN remoteRef: key: /cl01tl/gitea/renovate property: RENOVATE_TOKEN - secretKey: RENOVATE_GIT_PRIVATE_KEY remoteRef: key: /cl01tl/gitea/renovate property: id_rsa - secretKey: RENOVATE_GITHUB_COM_TOKEN remoteRef: key: /github/gitea-cl01tl property: token --- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-renovate-ssh-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-renovate-ssh-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault data: - secretKey: config remoteRef: key: /cl01tl/gitea/renovate property: ssh_config - secretKey: id_rsa remoteRef: key: /cl01tl/gitea/renovate property: id_rsa - secretKey: id_rsa.pub remoteRef: key: /cl01tl/gitea/renovate property: id_rsa.pub --- apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: name: gitea-meilisearch-master-key-secret namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: gitea-meilisearch-master-key-secret app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore name: vault target: template: mergePolicy: Merge engineVersion: v2 data: ISSUE_INDEXER_CONN_STR: "http://:{{ `{{ .MEILI_MASTER_KEY }}` }}@gitea-meilisearch.gitea:7700/" data: - secretKey: MEILI_MASTER_KEY remoteRef: key: /cl01tl/gitea/meilisearch property: MEILI_MASTER_KEY