Skip to content
Back to skills

513 Kubernetes Workflows Advanced B18c3169

ASecurity

```yaml name: Build and Deploy on: push: branches: [main]

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 1, 2026
devopsbashdockerkubernetesgitapici/cd

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add tools-only/X-Skills --skill 513-kubernetes-workflows-advanced_b18c3169 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 513 Kubernetes Workflows Advanced B18c3169?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 513 Kubernetes Workflows Advanced B18c3169
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-513-kubernetes-workflows-advanced-b18c3169/badge)](https://www.skillsdirectory.com/skills/tools-only-513-kubernetes-workflows-advanced-b18c3169)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Kubernetes Workflows Advanced

## CI/CD Pipeline
```yaml
# GitHub Actions
name: Build and Deploy
on:
  push:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - run: docker build . -t $REGISTRY/$IMAGE:${{ github.sha }}
    - run: docker push $REGISTRY/$IMAGE:${{ github.sha }}

  deploy:
    needs: build
    steps:
    - uses: actions/checkout@v3
      with:
        repository: myorg/gitops-repo
        token: ${{ secrets.GITOPS_TOKEN }}
    - run: |
        sed -i 's|image:.*|image: $REGISTRY/$IMAGE:${{ github.sha }}|' k8s/deployment.yaml
        git commit -am "Update image" && git push
```

## Kustomize

```
kustomize/
├── base/
│   ├── kustomization.yaml
│   └── deployment.yaml
└── overlays/
    └── prod/
        └── kustomization.yaml
```

### Base
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
commonLabels:
  app: myapp
```

### Prod Overlay
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
replicas:
- name: myapp
  count: 5
```

```bash
kubectl apply -k overlays/prod/
```

## Flux CD
```bash
flux bootstrap github \
  --owner=myorg \
  --repository=fleet-infra \
  --branch=main \
  --path=clusters/my-cluster
```

Files in this skill

  • README.md1 KB
  • skill.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.