Skip to content

Commit

Permalink
edited yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bhanuba committed Dec 7, 2023
1 parent 97f1483 commit 95ced39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/operator-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
tags: ${{ env.ECR_OPERATOR_STAGING_IMAGE }}
platforms: linux/amd64, linux/arm64

# - name: Update manager.yaml
# run: |
# sed -i "s|\${OPERATOR_IMAGE}|$ECR_OPERATOR_STAGING_IMAGE|" config/manager/kustomization.yaml
# cat config/manager/kustomization.yaml
- name: Update manager.yaml
run: |
sed -i "s|\${OPERATOR_IMAGE}|$ECR_OPERATOR_STAGING_IMAGE|" config/manager/manager.yaml
cat config/manager/manager.yaml
- name: Verify Terraform version
run: terraform --version
Expand Down
7 changes: 1 addition & 6 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
resources:
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: 506463145083.dkr.ecr.us-west-2.amazonaws.com/cwagent-operator-pre-release
newTag: latest

2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
control-plane: controller-manager
spec:
containers:
- image: controller
- image: ${OPERATOR_IMAGE}
name: manager
resources:
requests:
Expand Down

0 comments on commit 95ced39

Please sign in to comment.