diff --git a/buildkit/rootless-buildkit.yaml b/buildkit/rootless-buildkit.yaml index 37cbd60..15d0e63 100644 --- a/buildkit/rootless-buildkit.yaml +++ b/buildkit/rootless-buildkit.yaml @@ -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 \ No newline at end of file + app: k8s-poolprovider \ No newline at end of file diff --git a/kubernetes.yaml b/kubernetes.yaml index 2e13db5..a267183 100644 --- a/kubernetes.yaml +++ b/kubernetes.yaml @@ -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 \ No newline at end of file diff --git a/main.go b/main.go index a5d4b1a..97cb216 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( const ( // Name of the application - Name = "Argus" + Name = "k8s-poolprovider" // Version of the application Version = "1.0.0" )