File tree 1 file changed +20
-0
lines changed
charts/opentelemetry-demo
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -559,6 +559,26 @@ components:
559
559
runAsUser : 999 # postgres
560
560
runAsGroup : 999
561
561
runAsNonRoot : true
562
+ mountedConfigMaps :
563
+ - name : init-scripts
564
+ mountPath : /docker-entrypoint-initdb.d
565
+ data :
566
+ 10-ffs_schema.sql : |
567
+ CREATE TABLE public.featureflags (
568
+ name character varying(255),
569
+ description character varying(255),
570
+ enabled double precision DEFAULT 0.0 NOT NULL
571
+ );
572
+ ALTER TABLE ONLY public.featureflags ADD CONSTRAINT featureflags_pkey PRIMARY KEY (name);
573
+ CREATE UNIQUE INDEX featureflags_name_index ON public.featureflags USING btree (name);
574
+ 20-ffs_data.sql : |
575
+ -- Feature Flags created and initialized on startup
576
+ INSERT INTO public.featureflags (name, description, enabled)
577
+ VALUES
578
+ ('productCatalogFailure', 'Fail product catalog service on a specific product', 0),
579
+ ('recommendationCache', 'Cache recommendations', 0),
580
+ ('adServiceFailure', 'Fail ad service requests', 0),
581
+ ('cartServiceFailure', 'Fail cart service requests', 0);
562
582
563
583
kafka :
564
584
enabled : true
You can’t perform that action at this time.
0 commit comments