rename app to k8s-poolprovider

This commit is contained in:
Divyansh Manchanda 2019-07-25 11:07:22 +05:30
Родитель 547a56e517
Коммит 54943efcb9
3 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: goserver
app: k8s-poolprovider
name: buildkitd
namespace: azuredevops
spec:
@ -10,11 +10,11 @@ spec:
replicas: 1
selector:
matchLabels:
app: goserver
app: k8s-poolprovider
template:
metadata:
labels:
app: goserver
app: k8s-poolprovider
role: buildkit
annotations:
container.apparmor.security.beta.kubernetes.io/buildkitd: unconfined
@ -37,7 +37,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: goserver
app: k8s-poolprovider
name: buildkitd
namespace: azuredevops
spec:
@ -45,4 +45,4 @@ spec:
- port: 1234
protocol: TCP
selector:
app: goserver
app: k8s-poolprovider

Просмотреть файл

@ -3,7 +3,7 @@ kind: Namespace
metadata:
name: azuredevops
labels:
app: goserver
app: k8s-poolprovider
---
apiVersion: v1
kind: ServiceAccount
@ -42,34 +42,34 @@ roleRef:
apiVersion: v1
kind: Service
metadata:
name: goserver
name: k8s-poolprovider
labels:
app: goserver
app: k8s-poolprovider
spec:
type: NodePort
ports:
- port: 8082
selector:
app: goserver
app: k8s-poolprovider
tier: frontend
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: goserver
name: k8s-poolprovider
labels:
app: goserver
app: k8s-poolprovider
spec:
template:
metadata:
labels:
app: goserver
app: k8s-poolprovider
tier: frontend
spec:
serviceAccountName: pipelineprovider
containers:
- image: divyanshm/goserver:v2.08
name: goserver
- image: divyanshm/k8s-poolprovider:v2.08
name: k8s-poolprovider
command: ["/app/main"]
ports:
- containerPort: 8082
@ -78,9 +78,9 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
labels:
app: goserver
name: goserver
app: k8s-poolprovider
name: k8s-poolprovider
spec:
backend:
serviceName: goserver
serviceName: k8s-poolprovider
servicePort: 8082

Просмотреть файл

@ -8,7 +8,7 @@ import (
const (
// Name of the application
Name = "Argus"
Name = "k8s-poolprovider"
// Version of the application
Version = "1.0.0"
)