- Pull requests should be created on the master branch.
Make sure Go is installed by running:
go version
Clone the sources and CD to the root directory of the project:
git clone https://github.com/jfrog/jfrog-registry-operator.git
cd jfrog-registry-operator
Make your changes and Build the sources as follows:
Before running the application, generate mocks by running the following command from within the root directory of the project:
make generate
make manifests
To run the code, follow these steps:
kubectl apply -f config/crd/bases
go run main.go
Once operator is in running state, configure artifactoryUrl, refreshTime, namespaceSelector and secretMetadata in secretrotator.yaml diff terminal
kubectl apply -f config/samples/jfrog_v1alpha1_secretrotator.yaml`