Skip to content

Commit

Permalink
Fixup some yamllint errors
Browse files Browse the repository at this point in the history
Summary:
TSIA, now that linter is working again, it complained about
these files.

Test Plan: N/A

Reviewers: zasgar, michelle

Reviewed By: zasgar

Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D10059

GitOrigin-RevId: 717460e
  • Loading branch information
vihangm authored and copybaranaut committed Oct 26, 2021
1 parent 5160f66 commit a90598e
Show file tree
Hide file tree
Showing 17 changed files with 91 additions and 73 deletions.
7 changes: 5 additions & 2 deletions .arclint
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,13 @@
"script-and-regex.regex": "/^(?P<file>.*):(?P<line>\\d+):(?P<char>\\d+): \\[(?P<severity>warning|error)\\] (?P<message>.*) \\((?P<name>.*)\\)$/m",
"include": [
"(\\.yml$)",
"(\\.yaml$)"
"(\\.yaml$)",
"(^.yamllint$)"
],
"exclude": [
"(^demos/)"
"(^demos/)",
"(^k8s/operator/helm/crds/olm_crd.yaml$)",
"(^k8s/operator/helm/templates)"
]
}
}
Expand Down
9 changes: 6 additions & 3 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---

extends: default

rules:
indentation: {spaces: 2, indent-sequences: false, check-multi-line-strings: true}
line-length: {max: 120}
indentation:
spaces: 2
indent-sequences: false
check-multi-line-strings: true
line-length:
max: 120
9 changes: 5 additions & 4 deletions k8s/cloud/base/artifact_tracker_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -6,9 +7,9 @@ spec:
type: ClusterIP
clusterIP: None
ports:
- port: 50750
protocol: TCP
targetPort: 50750
name: tcp-http2
- port: 50750
protocol: TCP
targetPort: 50750
name: tcp-http2
selector:
name: artifact-tracker-server
9 changes: 5 additions & 4 deletions k8s/cloud/base/auth_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -6,9 +7,9 @@ spec:
type: ClusterIP
clusterIP: None
ports:
- port: 50100
protocol: TCP
targetPort: 50100
name: tcp-http2
- port: 50100
protocol: TCP
targetPort: 50100
name: tcp-http2
selector:
name: auth-server
9 changes: 5 additions & 4 deletions k8s/cloud/base/dnsmgr_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -6,9 +7,9 @@ spec:
type: ClusterIP
clusterIP: None
ports:
- port: 51900
protocol: TCP
targetPort: 51900
name: tcp-http2
- port: 51900
protocol: TCP
targetPort: 51900
name: tcp-http2
selector:
name: dnsmgr-server
9 changes: 5 additions & 4 deletions k8s/cloud/base/vzconn_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -8,9 +9,9 @@ metadata:
spec:
type: LoadBalancer
ports:
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
selector:
name: vzconn-server
9 changes: 5 additions & 4 deletions k8s/cloud/base/vzmgr_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -6,9 +7,9 @@ spec:
type: ClusterIP
clusterIP: None
ports:
- port: 51800
protocol: TCP
targetPort: 51800
name: tcp-http2
- port: 51800
protocol: TCP
targetPort: 51800
name: tcp-http2
selector:
name: vzmgr-server
7 changes: 4 additions & 3 deletions k8s/cloud/overlays/exposed_services_gclb/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: pl-cloud
resources:
- proxy_service.yaml
- vzconn_service.yaml
- cloud_ingress.yaml
- proxy_service.yaml
- vzconn_service.yaml
- cloud_ingress.yaml
9 changes: 5 additions & 4 deletions k8s/cloud/overlays/exposed_services_gclb/vzconn_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -9,9 +10,9 @@ metadata:
spec:
type: NodePort
ports:
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
selector:
name: vzconn-server
5 changes: 3 additions & 2 deletions k8s/cloud/overlays/exposed_services_ilb/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: pl-cloud
resources:
- proxy_service.yaml
- vzconn_service.yaml
- proxy_service.yaml
- vzconn_service.yaml
9 changes: 5 additions & 4 deletions k8s/cloud/overlays/exposed_services_ilb/vzconn_service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -8,9 +9,9 @@ metadata:
spec:
type: LoadBalancer
ports:
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
selector:
name: vzconn-server
11 changes: 6 additions & 5 deletions k8s/cloud/prod/cloud_ingress_managed_cert.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: cloud-ingress-managed-cert
spec:
domains:
- withpixie.ai
- work.withpixie.ai
- docs.withpixie.ai
- slackin.withpixie.ai
- segment.withpixie.ai
- withpixie.ai
- work.withpixie.ai
- docs.withpixie.ai
- slackin.withpixie.ai
- segment.withpixie.ai
11 changes: 6 additions & 5 deletions k8s/cloud/staging/cloud_ingress_managed_cert.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: cloud-ingress-managed-cert
spec:
domains:
- staging.withpixie.dev
- work.staging.withpixie.dev
- docs.staging.withpixie.dev
- slackin.staging.withpixie.dev
- segment.staging.withpixie.dev
- staging.withpixie.dev
- work.staging.withpixie.dev
- docs.staging.withpixie.dev
- slackin.staging.withpixie.dev
- segment.staging.withpixie.dev
9 changes: 5 additions & 4 deletions k8s/cloud/testing/cloud_ingress_managed_cert.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: cloud-ingress-managed-cert
spec:
domains:
- testing.withpixie.dev
- work.testing.withpixie.dev
- docs.testing.withpixie.dev
- slackin.testing.withpixie.dev
- testing.withpixie.dev
- work.testing.withpixie.dev
- docs.testing.withpixie.dev
- slackin.testing.withpixie.dev
4 changes: 2 additions & 2 deletions k8s/cloud_deps/base/elastic/cluster/elastic_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 0Gi # this is replaced by version specific patches
storage: 0Gi # this is replaced by version specific patches
- name: data
count: 4
config:
Expand Down Expand Up @@ -76,4 +76,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 0Gi # this is replaced by version specific patches
storage: 0Gi # this is replaced by version specific patches
36 changes: 18 additions & 18 deletions k8s/cloud_deps/public/configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,40 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: pl-announcement-config
name: pl-announcement-config
data:
# Flip this flag to enable announce kit for changelogs, release notes etc.
ANNOUNCEMENT_ENABLED: "false"
# The URL for the announce kit widget.
ANNOUNCE_WIDGET_URL: ""
# Flip this flag to enable announce kit for changelogs, release notes etc.
ANNOUNCEMENT_ENABLED: "false"
# The URL for the announce kit widget.
ANNOUNCE_WIDGET_URL: ""
---
apiVersion: v1
kind: ConfigMap
metadata:
name: pl-ld-config
name: pl-ld-config
data:
# Set this key to enable launchdarkly to gate development features.
PL_LD_CLIENT_ID: ""
# Set this key to enable launchdarkly to gate development features.
PL_LD_CLIENT_ID: ""
---
apiVersion: v1
kind: ConfigMap
metadata:
name: pl-oauth-config
name: pl-oauth-config
data:
# Currently supported options are hydra and auth0.
# Hydra is the easiest option to get started with.
PL_OAUTH_PROVIDER: hydra
PL_AUTH_URI: oauth/hydra/oauth2/auth
PL_AUTH_CLIENT_ID: auth-code-client
# Currently supported options are hydra and auth0.
# Hydra is the easiest option to get started with.
PL_OAUTH_PROVIDER: hydra
PL_AUTH_URI: oauth/hydra/oauth2/auth
PL_AUTH_CLIENT_ID: auth-code-client
---
apiVersion: v1
kind: ConfigMap
metadata:
name: segment-config
name: segment-config
data:
write-key: ""
ui-write-key: ""
cli-write-key: ""
write-key: ""
ui-write-key: ""
cli-write-key: ""
---
apiVersion: v1
kind: ConfigMap
Expand Down
2 changes: 1 addition & 1 deletion k8s/devinfra/sourcegraph/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ metadata:
deploy: sourcegraph
provisioner: kubernetes.io/gce-pd
parameters:
type: pd-ssd # This configures SSDs (recommended).
type: pd-ssd # This configures SSDs (recommended).
reclaimPolicy: Retain

0 comments on commit a90598e

Please sign in to comment.