Skip to content

Commit

Permalink
[PLT-563] Modify Dockerfile to add permissions on capg-manager role (#…
Browse files Browse the repository at this point in the history
…595)

* Modify Dockerfile to add permissions on capg-manager role

* Reformat re-formating suggestions
  • Loading branch information
iamjanr authored Sep 23, 2024
1 parent bf18163 commit 278acc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cluster/internal/providers/docker/stratio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,6 @@ RUN curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${
&& curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${CLUSTERCTL}/metadata.yaml -o ${CAPI_REPO}/cluster-api/${CLUSTERCTL}/metadata.yaml \
&& cp ${CAPI_REPO}/cluster-api/${CLUSTERCTL}/metadata.yaml ${CAPI_REPO}/bootstrap-kubeadm/${CLUSTERCTL}/metadata.yaml \
&& 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

0 comments on commit 278acc5

Please sign in to comment.