Skip to content

Commit

Permalink
Modify Dockerfile to configure cagg sync-period on startup (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjanr authored Sep 23, 2024
1 parent 278acc5 commit dd45b45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cluster/internal/providers/docker/stratio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ RUN curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${
&& cp ${CAPI_REPO}/cluster-api/${CLUSTERCTL}/metadata.yaml ${CAPI_REPO}/control-plane-kubeadm/${CLUSTERCTL}/metadata.yaml

# Modify GCP infrastructure components
RUN sed -i "/machinepools\/status/{n;N;N;N;s/.*/ verbs:\n - get\n - list\n - watch\n - update\n - patch/}" ${CAPI_REPO}/infrastructure-gcp/${CAPG}/infrastructure-components.yaml
RUN sed -i "/machinepools\/status/{n;N;N;N;s/.*/ verbs:\n - get\n - list\n - watch\n - update\n - patch/}" ${CAPI_REPO}/infrastructure-gcp/${CAPG}/infrastructure-components.yaml
RUN sed -i "/insecure-diagnostics/a \ - --sync-period=2m" ${CAPI_REPO}/infrastructure-gcp/${CAPG}/infrastructure-components.yaml

0 comments on commit dd45b45

Please sign in to comment.