Slackbot
03/18/2023, 3:25 PMOr Weis
03/18/2023, 3:45 PMPriya reddy
03/18/2023, 4:37 PMPriya reddy
03/18/2023, 4:39 PMOr Weis
03/18/2023, 5:25 PMPriya reddy
03/18/2023, 6:28 PMOr Weis
03/18/2023, 6:39 PMPriya reddy
03/18/2023, 7:10 PMserver:
port: 7002
policyRepoUrl: <https://github.com/*************************opa-policies>
dataConfigSources:
config:
entries: [{
"url": "<http://opal-server.opal.svc.cluster.local:7002/policy-data>",
"topics": ["policy_data"],
"data": {},
"dst_path": "/static"
}]
policyRepoMainBranch: feature-new-policy
pollingInterval: 10
broadcastUri: null
broadcastPgsql: true
uvicornWorkers: 4
replicas: 1
- name: opal-client
image: opal-client-standalone:latest
imagePullPolicy: {{ .Values.opalclient.pullPolicy }}
env:
- name: UVICORN_NUM_WORKERS
value: "1"
- name: OPAL_POLICY_STORE_URL
value: <http://localhost>:{{ .Values.opa.port }}
- name: OPAL_SERVER_URL
value: <http://yyyyy.cluster.local:7002>
ports:
- name: http
protocol: TCP
containerPort: {{ .Values.opalclient.port }}
Or Weis
03/18/2023, 7:17 PMOr Weis
03/18/2023, 7:19 PMMy use case: I have some static policies autogenerated from protobuf, where I am trying to integrate it as a part of config-map. But there would be some additional policies needs to be updated on the fly where I would like to use them injecting through OPALWhy not just push the autogenerated policies into Git and OPAL as well ?
Or Weis
03/18/2023, 7:20 PMPriya reddy
03/18/2023, 7:27 PMPriya reddy
03/18/2023, 7:29 PMOr Weis
03/18/2023, 7:34 PMOr Weis
03/18/2023, 7:35 PMPriya reddy
03/18/2023, 7:36 PMOr Weis
03/18/2023, 7:49 PMOPAL_DONT_REMOVE_MISSING_POLICIES=1
; but it would require code changes of course, and a release.
If youâre okay with building an image from a branch ; I can write something quickly to implement this behavior - a full release would take longer of course.Priya reddy
03/18/2023, 7:54 PMOr Weis
03/18/2023, 7:56 PMPriya reddy
03/18/2023, 7:59 PMOr Weis
03/18/2023, 8:01 PMPriya reddy
03/18/2023, 8:02 PMOr Weis
03/18/2023, 8:33 PMOPAL_POLICY_STORE_POLICY_PATHS_TO_IGNORE
it expects a list of string delimited by â,â each string is a path to a policy in OPA
Paths that are listed there wonât be overwritten or deleted by in coming updatesPriya reddy
03/18/2023, 11:26 PM