Skip to content

Commit

Permalink
Update install commands and yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Jun 17, 2021
1 parent 14550b8 commit 7b389ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tag := $(shell git describe --tags)
repo := infrahq/infra
repo := infrahq/early-access

generate:
go generate ./...
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Infra is **identity and access management** for Kubernetes. Provide any user fin
### Install Infra Registry

```
kubectl apply -f https://raw.githubusercontent.com/infrahq/early-access/main/deploy/registry.yaml
kubectl apply -f https://raw.githubusercontent.com/infrahq/release/main/deploy/registry.yaml
```

Infra exposes a `LoadBalancer` service by default. Find the **External IP** of the load balancer:
Expand All @@ -34,7 +34,7 @@ kubectl get svc --namespace infra
### Install Infra CLI

```
curl -L "https://github.com/infrahq/early-access/releases/latest/download/infra-$(uname -s)-$(uname -m)" -o /usr/local/bin/infra && chmod +x /usr/local/bin/infra
curl -L "https://github.com/infrahq/release/releases/latest/download/infra-$(uname -s)-$(uname -m)" -o /usr/local/bin/infra && chmod +x /usr/local/bin/infra
```

### Log in
Expand All @@ -60,7 +60,7 @@ kubectl create configmap infra-engine -n infra --from-literal="name=<CLUSTER NAM

kubectl create secret generic infra-engine -n infra --from-literal="api-key=<API KEY>"

kubectl apply -f https://raw.githubusercontent.com/infrahq/early-access/main/deploy/engine.yaml
kubectl apply -f https://raw.githubusercontent.com/infrahq/release/main/deploy/engine.yaml
```

Verify the cluster has been connected:
Expand Down
3 changes: 1 addition & 2 deletions deploy/engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ spec:
serviceAccountName: infra-engine
containers:
- name: engine
image: infrahq/infra:dev
imagePullPolicy: Always
image: infrahq/infra:0.0.3
args: ["engine"]
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion deploy/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
automountServiceAccountToken: true
containers:
- name: registry
image: infrahq/infra:dev
image: infrahq/infra:0.0.3
args: ["registry", "-c", "/var/run/infra/config/infra.yaml", "--db", "/var/run/infra/data/infra.db", "--tls-cache", "/var/run/infra/data/cache"]
ports:
- containerPort: 443
Expand Down

0 comments on commit 7b389ed

Please sign in to comment.