Skip to content

Commit 2afe2ef

Browse files
committed
MK8S-140 - Rename deployment name to oauth2-proxy-prometheus
1 parent 96ec16d commit 2afe2ef

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

salt/metalk8s/addons/prometheus-operator/deployed/oidc-proxy-prometheus.sls

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@
2222
2323
{%- if prometheus_oidc_enabled %}
2424
25-
Create oauth2-proxy Deployment:
25+
Create oauth2-proxy-prometheus Deployment:
2626
metalk8s_kubernetes.object_present:
2727
- manifest:
2828
apiVersion: apps/v1
2929
kind: Deployment
3030
metadata:
31-
name: oauth2-proxy
31+
name: oauth2-proxy-prometheus
3232
namespace: metalk8s-monitoring
3333
labels:
34-
app: oauth2-proxy
34+
app: oauth2-proxy-prometheus
3535
spec:
3636
replicas: 1
3737
selector:
3838
matchLabels:
39-
app: oauth2-proxy
39+
app: oauth2-proxy-prometheus
4040
template:
4141
metadata:
4242
labels:
43-
app: oauth2-proxy
43+
app: oauth2-proxy-prometheus
4444
spec:
4545
serviceAccountName: oidc-proxy
4646
{%- if ca_configured %}
@@ -97,34 +97,34 @@ Create oauth2-proxy Deployment:
9797
- name: secrets-volume
9898
emptyDir: {}
9999
100-
Create oauth2-proxy Service:
100+
Create oauth2-proxy-prometheus Service:
101101
metalk8s_kubernetes.object_present:
102102
- manifest:
103103
apiVersion: v1
104104
kind: Service
105105
metadata:
106-
name: oauth2-proxy
106+
name: oauth2-proxy-prometheus
107107
namespace: metalk8s-monitoring
108108
labels:
109-
app: oauth2-proxy
109+
app: oauth2-proxy-prometheus
110110
spec:
111111
selector:
112-
app: oauth2-proxy
112+
app: oauth2-proxy-prometheus
113113
ports:
114114
- port: 4180
115115
116116
{%- else %}
117117
118-
Ensure oauth2-proxy Deployment does not exist:
118+
Ensure oauth2-proxy-prometheus Deployment does not exist:
119119
metalk8s_kubernetes.object_absent:
120-
- name: oauth2-proxy
120+
- name: oauth2-proxy-prometheus
121121
- namespace: metalk8s-monitoring
122122
- kind: Deployment
123123
- apiVersion: apps/v1
124124
125-
Ensure oauth2-proxy Service does not exist:
125+
Ensure oauth2-proxy-prometheus Service does not exist:
126126
metalk8s_kubernetes.object_absent:
127-
- name: oauth2-proxy
127+
- name: oauth2-proxy-prometheus
128128
- namespace: metalk8s-monitoring
129129
- kind: Service
130130
- apiVersion: v1

0 commit comments

Comments
 (0)