Change version on k8s
This commit is contained in:
parent
c48c508be8
commit
e273f12a92
|
@ -1,9 +1,7 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-ldap-auth
|
name: nginx-ldap-auth
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: Role
|
kind: Role
|
||||||
|
@ -26,7 +24,6 @@ rules:
|
||||||
- "nginx-ldap-auth"
|
- "nginx-ldap-auth"
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
|
@ -39,7 +36,6 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: nginx-ldap-auth
|
name: nginx-ldap-auth
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -54,7 +50,6 @@ spec:
|
||||||
targetPort: 5555
|
targetPort: 5555
|
||||||
selector:
|
selector:
|
||||||
app: nginx-ldap-auth
|
app: nginx-ldap-auth
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
|
@ -71,7 +66,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: nginx-ldap-auth
|
serviceAccountName: nginx-ldap-auth
|
||||||
containers:
|
containers:
|
||||||
- image: docker.io/tpimenta/nginx-ldap-auth:v1.0.2
|
- image: docker.io/tpimenta/nginx-ldap-auth:v1.0.3
|
||||||
name: nginx-ldap-auth
|
name: nginx-ldap-auth
|
||||||
command:
|
command:
|
||||||
- "nginx-ldap-auth"
|
- "nginx-ldap-auth"
|
||||||
|
|
2
k8s.yaml
2
k8s.yaml
|
@ -26,7 +26,7 @@ spec:
|
||||||
app: nginx-ldap-auth
|
app: nginx-ldap-auth
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: docker.io/tpimenta/nginx-ldap-auth:v1.0.2
|
- image: docker.io/tpimenta/nginx-ldap-auth:v1.0.3
|
||||||
name: nginx-ldap-auth
|
name: nginx-ldap-auth
|
||||||
command:
|
command:
|
||||||
- "nginx-ldap-auth"
|
- "nginx-ldap-auth"
|
||||||
|
|
Reference in a new issue