Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
postgres-operator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
zalando
postgres-operator
Commits
9ee9e286
Commit
9ee9e286
authored
8 years ago
by
Murat Kabilov
Committed by
Murat Kabilov
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
make use of the local fake teams api
parent
fb454b80
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+7
-0
7 additions, 0 deletions
README.md
manifests/configmap.yaml
+1
-1
1 addition, 1 deletion
manifests/configmap.yaml
manifests/fake-teams-api.yaml
+46
-0
46 additions, 0 deletions
manifests/fake-teams-api.yaml
with
54 additions
and
1 deletion
README.md
+
7
−
0
View file @
9ee9e286
...
...
@@ -111,6 +111,13 @@ Etcd is required to deploy the operator.
$ kubectl --context minikube create -f https://raw.githubusercontent.com/coreos/etcd/master/hack/kubernetes-deploy/etcd.yml
### Deploy fake Teams API
Teams API is used as a source of human users.
$ kubectl --context minikube create -f manifests/fake-teams-api.yaml
### Check if ThirdPartyResource has been registered
$ kubectl --context minikube get thirdpartyresources
...
...
This diff is collapsed.
Click to expand it.
manifests/configmap.yaml
+
1
−
1
View file @
9ee9e286
...
...
@@ -27,5 +27,5 @@ data:
resync_period
:
5m
resync_period_pod
:
5m
super_username
:
postgres
teams_api_url
:
http
s
://
teams.example.com/api/
teams_api_url
:
http://
fake-teams-api.default.svc.cluster.local
workers
:
"
4"
This diff is collapsed.
Click to expand it.
manifests/fake-teams-api.yaml
0 → 100644
+
46
−
0
View file @
9ee9e286
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
fake-teams-api
spec
:
replicas
:
1
template
:
metadata
:
labels
:
name
:
fake-teams-api
spec
:
containers
:
-
name
:
fake-teams-api
image
:
ikitiki/fake-teams-api:latest
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
fake-teams-api
spec
:
selector
:
name
:
fake-teams-api
ports
:
-
name
:
server
port
:
80
protocol
:
TCP
targetPort
:
80
type
:
NodePort
---
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
postgresql-operator
namespace
:
default
type
:
Opaque
data
:
cluster-registry-rw-token-secret
:
c29tZSBkYXRhCg==
cluster-registry-rw-token-type
:
QmVhcmVy
cluster-rw-token-secret
:
c29tZSBkYXRhCg==
cluster-rw-token-type
:
QmVhcmVy
read-only-token-secret
:
c29tZSBkYXRhCg==
read-only-token-type
:
QmVhcmVy
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment