# Local development configuration for Kind cluster replicaCount: 1 # CRITICAL: Same Backstage label for local discovery commonLabels: backstage.io/kubernetes-id: "schedulerservice" image: repository: europe-west1-docker.pkg.dev/prj-onlinesales-stag-01/os-docker-images/onlinesales/prod/services/java/schedulerservice pullPolicy: IfNotPresent tag: "1767770163300" # Relaxed security for local development - Tomcat needs permissive settings podSecurityContext: {} securityContext: {} service: type: ClusterIP port: 8080 targetPort: 8080 # Enable ingress for local access ingress: enabled: true className: "nginx" annotations: nginx.ingress.kubernetes.io/ssl-redirect: "false" hosts: - host: schedulerservice.cnoe.localtest.me paths: - path: /schedulerService pathType: Prefix # No resource limits for local development resources: {} # Relaxed probes for local development livenessProbe: httpGet: path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D port: http initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 30 failureThreshold: 10 readinessProbe: httpGet: path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D port: http initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 30 failureThreshold: 10 startupProbe: httpGet: path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D port: http initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 30 failureThreshold: 60 # Disable autoscaling and PDB for local autoscaling: enabled: false pdb: enabled: false nodeSelector: {} tolerations: [] affinity: {} # External service dependencies for local externalServices: {} config: enabled: true mountPath: /etc/onlinesales/config/schedulerService files: schedulerService.cfg: | LOG_CONFIG_FILE=/etc/onlinesales/config/schedulerService/log.cfg DB_CONFIG_FILE=/etc/onlinesales/db/hibernate.cfg.xml authConfig.cfg: | { "authEnable": false, "authServiceUrl": "http://hades-service/hades/authorize" } log.cfg: | log4j.rootLogger=DEBUG, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n env: - name: APP_ENV value: "local" - name: LOG_LEVEL value: "DEBUG" - name: DB_CONFIG_FILE value: "/etc/onlinesales/db/hibernate.cfg.xml" - name: LOG_CONFIG_FILE value: "/etc/onlinesales/config/schedulerService/log.cfg" # External Database - connects to os-schedules-argo-syncer's MySQL subchart # autoDerive: true will auto-derive host as {namespace}-os-schedules-argo-syncer-mysql externalDatabase: host: "" # Leave empty to use auto-derived host mysqlRelease: "" # Optional: set to override auto-derive autoDerive: true # Auto-derive host from namespace: {namespace}-os-schedules-argo-syncer-mysql port: "3306" database: "os_scheduling_db" username: "scheduler_user" password: "localpassword"