Merge pull request #396 from stakater/update-push-workflow

Remove outdated manifests
This commit is contained in:
Faizan Ahmad
2023-02-26 13:23:25 +01:00
committed by GitHub
8 changed files with 8 additions and 29 deletions
+5 -5
View File
@@ -45,7 +45,7 @@ jobs:
version: v1.51.1
only-new-issues: false
args: --timeout 10m
- name: Install kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
@@ -108,7 +108,7 @@ jobs:
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
##############################
## Add steps to generate required artifacts for a release here(helm chart, operator manifest etc.)
##############################
@@ -148,16 +148,16 @@ jobs:
linting: on
commit_username: stakater-user
commit_email: stakater@gmail.com
# Commit back changes
- name: Commit files
run: |
git config --local user.email "stakater@gmail.com"
git config --local user.name "stakater-user"
git status
git status
git add .
git commit -m "[skip-ci] Update artifacts" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
@@ -38,8 +38,8 @@ rules:
resources:
- namespaces
verbs:
- get
{{- end }}
- get
{{- end }}
{{- if and (.Capabilities.APIVersions.Has "apps.openshift.io/v1") (.Values.reloader.isOpenshift) }}
- apiGroups:
- "apps.openshift.io"
+1 -3
View File
@@ -4,7 +4,5 @@ kind: Kustomization
resources:
- manifests/clusterrole.yaml
- manifests/clusterrolebinding.yaml
- manifests/role.yaml
- manifests/rolebinding.yaml
- manifests/serviceaccount.yaml
- manifests/deployment.yaml
- manifests/deployment.yaml
@@ -1,3 +0,0 @@
---
# Source: reloader/templates/podmonitor.yaml
@@ -1,4 +0,0 @@
---
# Source: reloader/templates/role.yaml
@@ -1,4 +0,0 @@
---
# Source: reloader/templates/rolebinding.yaml
@@ -1,4 +0,0 @@
---
# Source: reloader/templates/service.yaml
@@ -1,4 +0,0 @@
---
# Source: reloader/templates/servicemonitor.yaml