Skip to content

Commit 3a64a7e

Browse files
committed
remove NODE_NAME
1 parent 5ee018a commit 3a64a7e

File tree

3 files changed

+73
-8
lines changed

3 files changed

+73
-8
lines changed

.github/workflows/ci.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# ---
2+
# name: Run tests
3+
4+
# on:
5+
# push:
6+
# branches: [main]
7+
# pull_request:
8+
9+
# jobs:
10+
# test:
11+
# name: Unit Tests
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/setup-go@v4
15+
# with:
16+
# go-version: "1.21"
17+
# - uses: actions/checkout@v4
18+
# - name: Run tests
19+
# run: |
20+
# go vet ./...
21+
# go test $(go list ./... | grep -v e2e)
22+
23+
# lint:
24+
# name: Lint
25+
# runs-on: ubuntu-latest
26+
# steps:
27+
# - uses: actions/setup-go@v4
28+
# with:
29+
# go-version: "1.21"
30+
# - uses: actions/checkout@v4
31+
# - name: golangci-lint
32+
# uses: golangci/golangci-lint-action@v3
33+
# with:
34+
# # Required: the version of golangci-lint is required and must be specified without patch version
35+
# version: v1.54.2
36+
# # In general linting is quite fast with warm caches, but a fresh run might take some time.
37+
# args: --timeout 5m
38+
39+
# imports:
40+
# name: Check Imports
41+
# runs-on: ubuntu-latest
42+
# steps:
43+
# - uses: actions/setup-go@v4
44+
# with:
45+
# go-version: "1.21"
46+
# - uses: actions/checkout@v4
47+
# - name: Check imports
48+
# shell: bash
49+
# run: |
50+
# export PATH=$(go env GOPATH)/bin:$PATH
51+
# go get golang.org/x/tools/cmd/goimports
52+
# diff -u <(echo -n) <(goimports -d .)
53+
54+
# deploy-manifests:
55+
# name: Check deployment manifests
56+
# runs-on: ubuntu-latest
57+
# steps:
58+
# - uses: yokawasa/[email protected]
59+
# with:
60+
# setup-tools: |
61+
# helm
62+
# helm: v3.11.2
63+
64+
# - uses: actions/checkout@v4
65+
# - name: Generate manifests from helm chart
66+
# run: scripts/update-deployment-yamls.sh
67+
68+
# - name: Check for diff
69+
# run: git diff --exit-code -- deploy/
70+
71+
# - name: Show warning
72+
# if: ${{ failure() }}
73+
# run: echo "::error title=Deployment Manifests outdated::Please run scripts/update-deployment-yamls.sh and commit the changes to deploy/"

deploy/ccm-bare-metal.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ spec:
111111
cpu: 100m
112112
memory: 50Mi
113113
env:
114-
- name: NODE_NAME
115-
valueFrom:
116-
fieldRef:
117-
fieldPath: spec.nodeName
118114
- name: HCLOUD_TOKEN
119115
valueFrom:
120116
secretKeyRef:

deploy/ccm-networks.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ spec:
7575
secretKeyRef:
7676
key: token
7777
name: hcloud
78-
- name: NODE_NAME
79-
valueFrom:
80-
fieldRef:
81-
fieldPath: spec.nodeName
8278
- name: HCLOUD_NETWORK
8379
valueFrom:
8480
secretKeyRef:

0 commit comments

Comments
 (0)