Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Update manual installation docs to include tag checkout (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 authored Sep 15, 2021
1 parent 67411fe commit 507fc9d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ jobs:
uses: docker/build-push-action@v2
with:
context: '.'
cache-from: type=gha
cache-to: type=gha,mode=max
# Disable cache until https://github.com/docker/buildx/issues/681 is fixed
# cache-from: type=gha
# cache-to: type=gha,mode=max
tags: nginx/nginx-ingress-operator:${{ github.sha }}
push: false

Expand Down Expand Up @@ -135,6 +136,9 @@ jobs:
with:
file: Dockerfile
context: '.'
# Disable cache until https://github.com/docker/buildx/issues/681 is fixed
# cache-from: type=gha
# cache-to: type=gha,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ testbin/*
*.swp
*.swo
*~
.vscode/
13 changes: 9 additions & 4 deletions docs/manual-installation.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# Manual installation

### 1. Deploy the operator

This will deploy the operator in the `nginx-ingress-operator-system` namespace.


1. Deploy the Operator and associated resources:
1. <Openshift> To deploy the Operator and associated resources to an OpenShift environment, run:
1. Clone the `nginx-ingress-operator` repo and checkout the latest stable tag:
```
git clone https://github.com/nginxinc/nginx-ingress-operator/
cd nginx-ingress-operator/
git checkout v0.3.0
```

2. `Openshift` To deploy the Operator and associated resources to an OpenShift environment, run:
```
make openshift-deploy IMG=registry.connect.redhat.com/nginx/nginx-ingress-operator:0.3.0
```

2. To deploy the Operator and associated resources to all other environments:
3. Alternatively, to deploy the Operator and associated resources to all other environments:
```
make deploy IMG=nginx/nginx-ingress-operator:0.3.0
```
Expand Down

0 comments on commit 507fc9d

Please sign in to comment.