Skip to content

Commit

Permalink
Create update-configmap-job.yaml (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhogayatakb authored Nov 29, 2024
1 parent 6b9e632 commit 98b5f86
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions scripts/mw-kube-agent/update-configmap-job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: batch/v1
kind: Job
metadata:
name: mw-kube-agent-update-configmap
namespace: mw-agent-ns
spec:
template:
spec:
containers:
- name: mw-kube-agent-update-configmap-container
image: ghcr.io/middleware-labs/mw-kube-agent:MW_VERSION_VALUE
args:
- mw-agent
- force-update-configmaps
env:
- name: MW_TARGET
value: "TARGET_VALUE"
- name: MW_API_URL_FOR_CONFIG_CHECK
value: "MW_API_URL_FOR_CONFIG_CHECK_VALUE"
- name: MW_KUBE_CLUSTER_NAME
value: "MW_KUBE_CLUSTER_NAME_VALUE"
- name: MW_NAMESPACE
value: "NAMESPACE_VALUE"
- name: MW_API_KEY
value: "MW_API_KEY_VALUE"
restartPolicy: Never
serviceAccountName: mw-service-account-update

0 comments on commit 98b5f86

Please sign in to comment.