Skip to content

Commit

Permalink
remove the image from this repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Manuel "Kang" Perez authored and kang-makes committed Sep 11, 2023
1 parent 5b6a2b4 commit 74e017a
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 197 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

39 changes: 12 additions & 27 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,35 @@
"extends": [
"config:base"
],
"helm-values": {}, // Not included in `config:base`
"helmv3": {}, // Not included in `config:base`

// Using the kubernetes manager with all yaml files.
"kubernetes": {
"fileMatch": [ "\\.yaml$" ]
},

// Update minikube action parameters.
"regexManagers": [
{
// Update minikube action parameters.
"fileMatch": [ "^.github/workflows/lint-and-test.yaml$" ],
"datasourceTemplate": "github-tags",
"depNameTemplate": "kubernetes/{{{ project }}}",
"matchStrings": [
" *(?<project>.*) version: (?<currentValue>.*)"
]
},
{
// Update PowerDNS tag in the Dockerfile.
"fileMatch": [ "^Dockerfile$" ],
"datasourceTemplate": "github-tags",
"depNameTemplate": "PowerDNS/pdns",
"extractVersionTemplate": "^auth-(?<version>.*)$",
"matchStrings": [
"ARG PDNS_VERSION=(?<currentValue>.*)"
]
}
],

// Group all kubernetes/minikube related updates in the same PR.
// Kubernetes upgrade could break minikube. And the update/fix of
// minukube should be tested with the new version of Kubernetes.
// It make sense that the PR is the same.
"packageRules": [
{
// Group all kubernetes/minikube rleated updates in the same PR.
// Kubernetes upgrade could break minikube. And the update/fix of
// minukube should be tested with the new version of Kubernetes.
// It make sense that the PR is the same.
"matchDepPatterns": [
"^kubernetes/.*"
],
"groupName": "Kubernetes related testing dependencies",
"groupSlug": "kubernetes-ci"
},
{
// Group all debian images together.
"matchPackagePatterns": [
"debian"
],
"matchPaths": [
"Dockerfile"
],
"groupName": "Debian base images",
}
]
}
31 changes: 1 addition & 30 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ name: Lint and test PR
on: pull_request

jobs:
docker-build:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v4
with:
tags: ci.local/${{ github.repository }}/powerdns:ci
cache-from: type=gha
cache-to: type=gha,mode=max

chart-lint:
name: Lint Helm charts
runs-on: ubuntu-latest
Expand Down Expand Up @@ -52,25 +38,13 @@ jobs:
name: Installation test for Helm charts
runs-on: ubuntu-latest
needs:
# Reuse image cache:
- docker-build
# This test is expensive so only run it when cheap tests pass:
- chart-lint
- chart-unittest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build image
uses: docker/build-push-action@v4
with:
load: true # Bring image to the host so we can minikube load it later.
tags: ci.local/${{ github.repository }}/powerdns:ci
cache-from: type=gha
# No need to push anything to cache here.

# Install Minikube to test chart installation
- name: Install Minikube
uses: manusa/[email protected]
Expand All @@ -80,11 +54,8 @@ jobs:
github token: ${{ secrets.GITHUB_TOKEN }}
driver: docker
start args: "--container-runtime=containerd"
# Test chart installation with a stable image.
- name: Load image into minikube
run: |
minikube image load ci.local/${{ github.repository }}/powerdns:ci

# Test chart installation
- name: Install helm/chart-testing
uses: helm/[email protected]
- name: Test charts' installation path
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/publish-image.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions Dockerfile

This file was deleted.

14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
# DNS
# Stateless DNS

* **Project**: https://github.com/kubernetes-sigs/external-dns
* **Project**: https://www.powerdns.com/opensource.html

This helm is an integration of PowerDNS with external-dns to create a DNS
which every record is saved in the `values.yaml` or pusblished dinamically
based on the LoadBalancers and ingresses running in the cluster.

## Known issues

### failed to sync cache: timed out waiting for the condition

There is an RBAC configuration error. The service account has no access to all
the objects it has to source. Here be dragons.

### Pod restarts once then has no zones

The zone fail is incorrect and the database is not populated. The sqlite database
exists so it is not populated again.
27 changes: 0 additions & 27 deletions Tiltfile

This file was deleted.

5 changes: 0 additions & 5 deletions charts/stateless-dns/ci/e2e-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ externalDNS:
policy: sync

pdns:
image:
# We are going to test always with the version built or the latest stable
registry: ci.local
tag: ci

apiKeySecret:
create: true
valuePlain: a-testing-apikey
Expand Down
4 changes: 2 additions & 2 deletions charts/stateless-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ externalDNS:
pdns:
image:
registry: ghcr.io # Image registry
repository: txqueuelen/stateless-dns/powerdns # Image repository
tag: v4.7.4@sha256:3523f1516f395a9bc82bbb506387b77636eaaa68f2838f09934220992d0ada65 # Image tag
repository: txqueuelen/powerdns-docker/powerdns # Image repository
tag: v4.8.2@sha256:cd396946ba05e2902850d3ade952828a97496d91571098ddc7488987f0af1138 # Image tag
pullPolicy: IfNotPresent # Image pull policy.

securityContext:
Expand Down
5 changes: 0 additions & 5 deletions ctlptl.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions zone-populator.sh

This file was deleted.

0 comments on commit 74e017a

Please sign in to comment.