--- apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: GitRepository metadata: name: cert-manager-webhook-ovh namespace: flux-system spec: interval: 1440m url: https://github.com/baarde/cert-manager-webhook-ovh ref: branch: master ignore: | # exclude all /* # include charts directory !/deploy/ --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: cert-manager-webhook-ovh:secret-reader namespace: cert-manager rules: - apiGroups: [""] resources: ["secrets"] resourceNames: ["ovh-credentials"] verbs: ["get", "watch"] --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: RoleBinding metadata: name: cert-manager-webhook-ovh:secret-reader namespace: cert-manager roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: cert-manager-webhook-ovh:secret-reader subjects: - apiGroup: "" kind: ServiceAccount name: cert-manager-webhook-ovh