Skip to content

Commit

Permalink
test move crd
Browse files Browse the repository at this point in the history
  • Loading branch information
olamilekan000 committed Jan 26, 2025
1 parent 4cd1a47 commit 4b0b56d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/move_crd_values_to_operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Apply Operator Helm Chart Changes To Operator Repo
on:
push:
branches:
- master
- TT-13866-move-crd-values-to-operator

jobs:
check-specific-file:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Get Source Branch Name
id: get_source_branch
run: |
MERGE_COMMIT=$(git --no-pager log -1 --merges --pretty=%H)
MERGE_COMMIT=$(git --no-pager log -1 --pretty=%H)
SOURCE_BRANCH=$(git show -s --pretty=%B $MERGE_COMMIT | grep -oP '(?<=from )\S+' | sed 's/^[^/]*\///')
echo "SOURCE_BRANCH=${SOURCE_BRANCH}" >> $GITHUB_ENV
Expand Down
29 changes: 29 additions & 0 deletions components/tyk-operator/templates/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -721,3 +721,32 @@ webhooks:
resources:
- apidefinitions
sideEffects: None
---
apiVersion: v1
kind: Pod
metadata:
name: my-pod
labels:
app: my-app
tier: frontend
spec:
containers:
- name: my-container1
image: my-image:latest
ports:
- containerPort: 80
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
volumeMounts:
- name: my-volume
mountPath: /path/in/container
volumes:
- name: my-volume
hostPath:
path: /path/on/host
restartPolicy: Always

0 comments on commit 4b0b56d

Please sign in to comment.