Skip to content

Commit d86c41a

Browse files
committed
Rename to pizza-apiserver
1 parent 122ecff commit d86c41a

File tree

92 files changed

+169
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+169
-169
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
custom-apiserver
2-
custom-apiserver.iml
1+
pizza-apiserver
2+
pizza-apiserver.iml

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# limitations under the License.
1414

1515
FROM golang:1.12 as build
16-
WORKDIR /go/src/github.com/programming-kubernetes/custom-apiserver
16+
WORKDIR /go/src/github.com/programming-kubernetes/pizza-apiserver
1717
COPY . .
1818
RUN CGO_ENABLED=0 GOOS=linux go build .
1919

2020
FROM alpine:latest
2121
RUN apk --no-cache add ca-certificates
22-
COPY --from=build /go/src/github.com/programming-kubernetes/custom-apiserver/custom-apiserver /
23-
ENTRYPOINT ["/custom-apiserver"]
22+
COPY --from=build /go/src/github.com/programming-kubernetes/pizza-apiserver/pizza-apiserver /
23+
ENTRYPOINT ["/pizza-apiserver"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# custom-apiserver
1+
# pizza-apiserver
22
An aggregated custom API server

artifacts/deployment-secure/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OUTPUT := serving-cert-secret.yaml v1alpha1-apiservice.yaml v1beta1-apiservice.y
55
all: tls.key tls.crt $(OUTPUT)
66

77
tls.key tls.crt:
8-
openssl req -new -x509 -subj "/CN=api.custom-apiserver.svc" -nodes -newkey rsa:4096 -keyout tls.key -out tls.crt -days 365
8+
openssl req -new -x509 -subj "/CN=api.pizza-apiserver.svc" -nodes -newkey rsa:4096 -keyout tls.key -out tls.crt -days 365
99

1010
$(OUTPUT): tls.key tls.crt
1111
sed 's,CERT,$(shell base64 tls.crt),;s,KEY,$(shell base64 tls.key),' $@.template > $@
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRoleBinding
33
metadata:
4-
name: custom-apiserver:system:auth-delegator
4+
name: pizza-apiserver:system:auth-delegator
55
roleRef:
66
apiGroup: rbac.authorization.k8s.io
77
kind: ClusterRole
88
name: system:auth-delegator
99
subjects:
1010
- kind: ServiceAccount
1111
name: apiserver
12-
namespace: custom-apiserver
12+
namespace: pizza-apiserver
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: RoleBinding
33
metadata:
4-
name: custom-apiserver-auth-reader
4+
name: pizza-apiserver-auth-reader
55
namespace: kube-system
66
roleRef:
77
apiGroup: rbac.authorization.k8s.io
@@ -10,4 +10,4 @@ roleRef:
1010
subjects:
1111
- kind: ServiceAccount
1212
name: apiserver
13-
namespace: custom-apiserver
13+
namespace: pizza-apiserver

artifacts/deployment-secure/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: custom-server
5-
namespace: custom-apiserver
4+
name: pizza-apiserver
5+
namespace: pizza-apiserver
66
labels:
77
apiserver: "true"
88
spec:
@@ -19,9 +19,9 @@ spec:
1919
serviceAccountName: apiserver
2020
containers:
2121
- name: apiserver
22-
image: quay.io/programming-kubernetes/custom-apiserver:latest
22+
image: quay.io/programming-kubernetes/pizza-apiserver:latest
2323
imagePullPolicy: Always
24-
command: ["/custom-apiserver"]
24+
command: ["/pizza-apiserver"]
2525
args:
2626
- --etcd-servers=http://localhost:2379
2727
- --cert-dir=/tmp/certs

artifacts/deployment-secure/ns.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
kind: Namespace
33
metadata:
4-
name: custom-apiserver
4+
name: pizza-apiserver
55
spec: {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRoleBinding
33
metadata:
4-
name: custom-apiserver-clusterrolebinding
4+
name: pizza-apiserver-clusterrolebinding
55
roleRef:
66
apiGroup: rbac.authorization.k8s.io
77
kind: ClusterRole
88
name: aggregated-apiserver-clusterrole
99
subjects:
1010
- kind: ServiceAccount
1111
name: apiserver
12-
namespace: custom-apiserver
12+
namespace: pizza-apiserver

artifacts/deployment-secure/sa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ kind: ServiceAccount
22
apiVersion: v1
33
metadata:
44
name: apiserver
5-
namespace: custom-apiserver
5+
namespace: pizza-apiserver

0 commit comments

Comments
 (0)