gitlab-secret-store.yaml 750 B

12345678910111213141516171819202122
  1. apiVersion: external-secrets.io/v1
  2. kind: SecretStore
  3. metadata:
  4. name: gitlab-secret-store
  5. spec:
  6. provider:
  7. # provider type: gitlab
  8. gitlab:
  9. # url: https://gitlab.mydomain.com/
  10. auth:
  11. SecretRef:
  12. accessToken:
  13. name: gitlab-secret
  14. key: token
  15. projectID: "**project ID goes here**"
  16. # To sync variables from specific groups, provide their numeric IDs
  17. # (visible on the group's General Settings page).
  18. # groupIDs and inheritFromGroups are mutually exclusive: set only one.
  19. groupIDs: ["12345", "67890"]
  20. # Alternatively, automatically inherit variables from all parent groups:
  21. # inheritFromGroups: true
  22. environment: "**environment scope goes here**"