Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.74 KB

kustomize-install.md

File metadata and controls

47 lines (33 loc) · 1.74 KB

Install EDA Server Operator with Kustomize

Some folks may prefer to install the EDA Server Operator using kustomize directly with a personalized kustomize file. This allows you to easily modify configuration files including the operator's manager deployment itself. To do so, follow the instructions below.

  1. Create a kustomization.yaml file with the the following contents. Be sure to change newTag to the latest released tag, or the tag you would like to deploy.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - config/default

# Set the image tags to match the git version from above
images:
  - name: quay.io/ansible/eda-server-operator
    newTag: 0.0.1

# Specify a custom namespace in which to install EDA
namespace: eda
  1. Then kustomize and apply it by running:
kustomize build . | kubectl apply -f -

TIP: If you need to change any of the default settings for the operator (such as resources.limits), you can add patches at the bottom of your kustomization.yaml file. There is also some useful information in this ansible operator turotial.

Install Latest

It is possible to install the latest available changes from the main branch using this approach as well. To do so, you will want a kustomization.yaml file like this:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - github.com/ansible/eda-server-operator/config/default

images:
  - name: quay.io/ansible/eda-server-operator
    newTag: main

# Specify a custom namespace in which to install EDA
namespace: eda