apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: dragonfly-system

images:
- name: kube-rbac-proxy
  newName: gcr.io/kubebuilder/kube-rbac-proxy
  newTag: v0.16.0
- name: dragonfly-operator
  newName: docker.dragonflydb.io/dragonflydb/operator
  newTag: v1.1.8


resources:
- resources/crd/dragonfly.yaml
- resources/namespace.yaml
- resources/rbac/clusterrole.yaml
- resources/rbac/role.yaml
- resources/rbac/serviceaccount.yaml
- resources/rbac/clusterrolebinding.yaml
- resources/rbac/rolebinding.yaml
- resources/deployment.yaml
- resources/service.yaml

labels:
- includeSelectors: true
  pairs:
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/part-of: dragonfly-operator