Skip to content

Commit cc1bfc8

Browse files
authored
chore(manifests): consistently put k8s "header" at the top (argoproj#13319)
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
1 parent 80866f9 commit cc1bfc8

File tree

10 files changed

+34
-34
lines changed

10 files changed

+34
-34
lines changed

manifests/quick-start/base/httpbin/my-httpbin-cred-secret.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: my-httpbin-cred
5+
labels:
6+
app: httpbin
7+
type: Opaque
28
stringData:
39
# for basic auth authentication
410
user: admin
@@ -89,9 +95,3 @@ stringData:
8995
0mpJScl+pVxs1UGShVH74lIvhPaPq0AHgK1y1yYphKc1A07l2z0+S1tSYOvdQY8k
9096
NuJLvtwCMGDCxhdYm7OrJ0aUfZzP6w==
9197
-----END PRIVATE KEY-----
92-
kind: Secret
93-
metadata:
94-
name: my-httpbin-cred
95-
labels:
96-
app: httpbin
97-
type: Opaque
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
2-
stringData:
3-
accesskey: admin
4-
secretkey: password
52
kind: Secret
63
metadata:
74
name: my-minio-cred
85
labels:
96
app: minio
107
type: Opaque
8+
stringData:
9+
accesskey: admin
10+
secretkey: password

manifests/quick-start/base/overlays/workflow-controller-configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: workflow-controller-configmap
25
data:
36
executor: |
47
resources:
@@ -47,6 +50,3 @@ data:
4750
- name: Workflow Completed
4851
type: label
4952
key: workflows.argoproj.io/completed
50-
kind: ConfigMap
51-
metadata:
52-
name: workflow-controller-configmap
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: workflow-controller-configmap
25
data:
36
retentionPolicy: |
47
completed: 10
58
failed: 3
69
errored: 3
7-
kind: ConfigMap
8-
metadata:
9-
name: workflow-controller-configmap
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
2-
stringData:
3-
username: mysql
4-
password: password
52
kind: Secret
63
metadata:
74
name: argo-mysql-config
85
labels:
96
app: mysql
107
type: Opaque
8+
stringData:
9+
username: mysql
10+
password: password

manifests/quick-start/mysql/overlays/workflow-controller-configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: workflow-controller-configmap
25
data:
36
persistence: |
47
connectionPool:
@@ -23,6 +26,3 @@ data:
2326
completed: 10
2427
failed: 3
2528
errored: 3
26-
kind: ConfigMap
27-
metadata:
28-
name: workflow-controller-configmap
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
2-
stringData:
3-
username: postgres
4-
password: password
52
kind: Secret
63
metadata:
74
name: argo-postgres-config
85
labels:
96
app: postgres
107
type: Opaque
8+
stringData:
9+
username: postgres
10+
password: password

manifests/quick-start/postgres/overlays/workflow-controller-configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: workflow-controller-configmap
25
data:
36
persistence: |
47
connectionPool:
@@ -23,6 +26,3 @@ data:
2326
completed: 10
2427
failed: 3
2528
errored: 3
26-
kind: ConfigMap
27-
metadata:
28-
name: workflow-controller-configmap

manifests/quick-start/sso/dex/dex-cm.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apiVersion: v1
2-
# this contain secret data, so do not use in production
2+
kind: ConfigMap
3+
metadata:
4+
name: dex
5+
# this contains secret data -- do not use in production
36
data:
47
# https://github.com/dexidp/dex/blob/master/examples/config-dev.yaml
58
config.yaml: |
@@ -29,6 +32,3 @@ data:
2932
hash: $2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W
3033
username: admin
3134
userID: 08a8684b-db88-4b73-90a9-3cd1661f5466
32-
kind: ConfigMap
33-
metadata:
34-
name: dex

manifests/quick-start/sso/overlays/workflow-controller-configmap.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: workflow-controller-configmap
25
data:
36
sso: |
47
issuer: http://dex:5556/dex
@@ -16,6 +19,3 @@ data:
1619
- profile
1720
rbac:
1821
enabled: true
19-
kind: ConfigMap
20-
metadata:
21-
name: workflow-controller-configmap

0 commit comments

Comments
 (0)