blob: d5cf103949e2f80dd2874201d8e51258afb0e4e3 [file] [log] [blame]
resources:
- manager.yaml
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
- files:
- controller_manager_config.yaml
name: manager-config
- files:
- Dockerfile=kogito_builder_dockerfile.yaml
literals:
- DEFAULT_BUILDER_RESOURCE_NAME=Dockerfile
- DEFAULT_WORKFLOW_EXTENSION=.sw.json
name: builder-config
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: quay.io/kiegroup/kogito-serverless-operator-nightly
newTag: 2.0.0-snapshot
# Patching the manager deployment file to add an env var with the operator namespace in
patchesJson6902:
- patch: |-
- op: add
path: /spec/template/spec/containers/0/env
value:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
target:
group: apps
kind: Deployment
name: controller-manager
namespace: system
version: v1