Skip to content

Commit

Permalink
fix: cilium config
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fornaro <[email protected]>
  • Loading branch information
xunholy committed May 4, 2024
1 parent cf4c871 commit e0a5c92
Show file tree
Hide file tree
Showing 19 changed files with 515 additions and 379 deletions.
1 change: 1 addition & 0 deletions .github/renovate/autoMerge.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": "Auto Merge GitHub Actions",
Expand Down
1 change: 1 addition & 0 deletions .github/renovate/commitMessage.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
Expand Down
1 change: 1 addition & 0 deletions .github/renovate/labels.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchUpdateTypes": ["major"],
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Flux: Diff"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Lint"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/oidc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Example: GCP Workload identity Federation"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-cluster-oci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Publish OCI artifact"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Docs: Release to GitHub pages"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-kubernetes-schemas.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# This Github Action is responsible for publishing Kubernetes schemas to an OCI registry.
# It is triggered by a push to the main branch, a weekly schedule, or a manual dispatch.
name: "Publish Kubernetes Schemas"
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/schedule-renovate.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Schedule: Renovate"

on:
Expand All @@ -24,13 +26,13 @@ on:
- ".github/renovate/*"

env:
LOG_LEVEL: debug
RENOVATE_DRY_RUN: false
LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}"
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
RENOVATE_ONBOARDING_CONFIG_FILE_NAME: .github/renovate.json5
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}"
WORKFLOW_RENOVATE_VERSION: "${{ inputs.version || 'latest' }}"
RENOVATE_USERNAME: "${{ secrets.BOT_USERNAME }}[bot]"
RENOVATE_GIT_AUTHOR: "${{ secrets.BOT_USERNAME }} <${{ secrets.BOT_USER_ID }}+${{ secrets.BOT_USERNAME }}[bot]@users.noreply.github.com>"

Expand All @@ -41,11 +43,6 @@ jobs:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Override default config from dispatch variables
run: |
echo "RENOVATE_DRY_RUN=${{ github.event.inputs.dryRun || env.RENOVATE_DRY_RUN }}" >> "${GITHUB_ENV}"
echo "LOG_LEVEL=${{ github.event.inputs.logLevel || env.LOG_LEVEL }}" >> "${GITHUB_ENV}"
- name: Validate Renovate Configuration
uses: suzuki-shunsuke/github-action-renovate-config-validator@b54483862375f51910a60c4f498e927d4f3df466 # v1.0.1

Expand All @@ -61,3 +58,4 @@ jobs:
with:
configurationFile: "${{ env.RENOVATE_CONFIG_FILE }}"
token: "x-access-token:${{ steps.generate-token.outputs.token }}"
renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}"
2 changes: 2 additions & 0 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Terraform: Plan And Apply"

on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Flux: Run E2E Tests In KIND"

on:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/namespaces/base/kube-system/cilium/app/1.14.x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ imagePullSecrets:
# @default -- `"~/.kube/config"`
# kubeConfigPath: ""
# -- (string) Kubernetes service host
k8sServiceHost: 192.168.50.200
k8sServiceHost: localhost
# -- (string) Kubernetes service port
k8sServicePort: 6443
k8sServicePort: 7445

cluster:
# -- Name of the cluster. Only required for Cluster Mesh and mutual authentication with SPIRE.
Expand Down
360 changes: 199 additions & 161 deletions talos/generated/controlplane.enc.yaml

Large diffs are not rendered by default.

378 changes: 215 additions & 163 deletions talos/generated/node.enc.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions talos/generated/talosconfig.enc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ context: talos-default
contexts:
talos-default:
endpoints:
- 192.168.50.200
ca: ENC[AES256_GCM,data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GUypqvESu7mk0oFqWNj9GmYWOIA8shICOcrluV57HAdU3CTIfhPen90pdcqb5M2ahQj4pLa,iv:5VXvmN6ZxhEsQ39reJE+LaAYNXtZFT7syxxOCqQm+7Q=,tag:Q71BJfpw1ift5o6h3wJt3Q==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2023-03-02T07:39:53Z"
mac: ENC[AES256_GCM,data:MzFTl8Sf4RmOzVdn/VLWFVCHncyU3LNNO2LsJ9zuH1HaN3UNt5qGqU3ECxWp9jG7hdYbwzx0UfhptyHYG3QXQdDA36QDKtbl0MmRqF/GdWXxQy2XT3KHrvUTSjNLH3r9l7Gsw4t4vyFbOgj25wBEHBmkiQZzP+dfjw0vUJJBBsk=,iv:KXt+ydJZRK4boWcgwK8pqWHFw1Gl/DVZKE+DrxQa+6A=,tag:zvF8FIm90SpyIUAZJW+/CQ==,type:str]
lastmodified: "2024-05-04T23:34:43Z"
mac: ENC[AES256_GCM,data:cy3km17xKtsEv9/8b/DhtXmB+yueEaUr95MnYaDDgx750rg/l3P+abX2zzG1AXPdWh9NrjsSID6g9BK1g4pbrvUaV9r1g/Gr/qVFfdZV6D6K/z+tqhNF+jy4PC90bk5Pbm6VEhapRn2RzK3eEOJf3iDZLQyplJNTJL1nr3hMJNI=,iv:50xOxcGA7t2vssvHJ/hPMeUQYt9zcHT5Slu6Se1ShVc=,tag:7l9BbC3HK+5gR83irBKXxw==,type:str]
pgp:
- created_at: "2023-03-02T05:49:10Z"
enc: |
Expand Down
16 changes: 8 additions & 8 deletions talos/integrations/cilium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ helm repo add cilium https://helm.cilium.io/

```bash
helm install cilium cilium/cilium \
--version=1.12.1 \
--version=1.14.5 \
--namespace=kube-system \
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.12.1.yaml
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.14.5.yaml
```

Post successful installation of Cilium it's option to run the Cilium network connectivity tests
Expand All @@ -27,9 +27,9 @@ Upgrade path

```bash
helm upgrade cilium cilium/cilium \
--version 1.21.1 \
--version 1.14.5 \
--namespace=kube-system \
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.12.1.yaml
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.14.5.yaml
```

## Service Mesh
Expand All @@ -45,18 +45,18 @@ helm upgrade -n kube-system cilium ./install/kubernetes/cilium --values=../k8s-g

```bash
helm template cilium/cilium \
--version=1.12.1 \
--version=1.14.5 \
--namespace=kube-system \
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.12.1.yaml > kubernetes/namespaces/base/kube-system/cilium/install/cilium-1-12-1.yaml
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.14.5.yaml > kubernetes/namespaces/base/kube-system/cilium/install/cilium-1-12-1.yaml
```

```bash
flux create helmrelease cilium \
--source=HelmRepository/cilium-chart \
--namespace=kube-system \
--chart=cilium \
--chart-version=1.12.1 \
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.12.1.yaml \
--chart-version=1.14.5 \
--values=kubernetes/namespaces/base/kube-system/cilium/install/1.14.5.yaml \
--export > kubernetes/namespaces/base/kube-system/cilium/install/helmrelease.yaml
```

Expand Down
Loading

0 comments on commit e0a5c92

Please sign in to comment.