Skip to content

Commit

Permalink
add flyte agent patch
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
  • Loading branch information
Future Outlier committed Sep 17, 2023
1 parent 65ee2f3 commit 620b817
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: flyte-sandbox-config
data:
001-plugins.yaml: |
tasks:
task-plugins:
default-for-task-types:
container: container
container_array: k8s-array
sidecar: sidecar
enabled-plugins:
- agent-service
- container
- sidecar
- k8s-array
plugins:
logs:
kubernetes-enabled: true
kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }}
cloudwatch-enabled: false
stackdriver-enabled: false
k8s:
co-pilot:
image: "cr.flyte.org/flyteorg/flytecopilot:v0.0.33"
k8s-array:
logs:
config:
kubernetes-enabled: true
kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }}
cloudwatch-enabled: false
stackdriver-enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ helmCharts:
namespace: flyte
resources:
- ../namespace.yaml

patches:
- path: ./flyteagent_patch.yaml
target:
kind: ConfigMap
name: flyte-sandbox-config

4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/complete-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: OEFRSVFiSjJLN1VYb2tlYg==
haSharedSecret: NXl3SE1KUGNtSkhhSzRvZw==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1400,7 +1400,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: ca45138c582a88b6d2e4154a1a467456b34ae94a7bf8198ab8e1a99543c51c0a
checksum/secret: 0320675aa65bc42cb25ac844bb59fee74e49647b65669c21f2dfa3e39c597810
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: UTZnNk9QWThXZExVVTM2SA==
haSharedSecret: bWxDVllzS0hSMEJQZ1gzRw==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1356,7 +1356,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 0d0f36e984e18629ff6f0c903cab1dbd3a020705d41ec2222fa93e4ab6af4e99
checksum/secret: afc08c65d94baab28d716ec39643a79f8441760856b59764bc61205459e64d1f
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ metadata:
---
apiVersion: v1
data:
haSharedSecret: N3IwMFR6blpSb0htajVuZA==
haSharedSecret: R1BqenhQZWNVSXdjUnRGbQ==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -933,7 +933,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 02674b66491c6bdf20073a25b6f3b01743cc8f6f4c9c287a5afb72026346dbb1
checksum/secret: e65a7cfaef722d164cb5a04c2e6f49daf8e2a76de4737dfd05c5120b833fd65f
labels:
app: docker-registry
release: flyte-sandbox
Expand Down

0 comments on commit 620b817

Please sign in to comment.