Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 8, 2023
1 parent b3cc754 commit 3ecd71f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ jobs:
uses: docker/login-action@v2.2.0
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: build and push
run: |
make docker-buildx IMG=${{ env.IMG }}
make docker-buildx VERSION=${{ env.VERSION }}
- name: bundle
run: |
make bundle bundle-build bundle-push IMG=${{ env.IMG }}
make bundle bundle-build bundle-push VERSION=${{ env.VERSION }}
- name: catalog
run: |
make catalog-build catalog-push
make catalog-build catalog-push VERSION=${{ env.VERSION }}
15 changes: 7 additions & 8 deletions bundle/manifests/flyway-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,25 @@ metadata:
"app.kubernetes.io/part-of": "flyway-operator"
},
"name": "migration-sample",
"namespace": "ftm-dev"
"namespace": "test"
},
"spec": {
"database": {
"credentials": {
"key": "DB_PASSWORD",
"name": "db2u-password"
"key": "password",
"name": "migration-pw"
},
"jdbcUrl": "jdbc:db2://db2u-ftm-hadr-svc:50000/FTMDB",
"jdbcUrl": "jdbc:db2://somehost:50000/devdb",
"username": "db2inst1"
},
"migrationSource": {
"imageRef": "ghcr.io/davidkarlsen/testmigration:latest",
"path": "/sql"
"imageRef": "ghcr.io/davidkarlsen/testmigration:latest"
}
}
}
]
capabilities: Basic Install
createdAt: "2023-09-07T18:58:51Z"
createdAt: "2023-09-08T11:22:46Z"
operators.operatorframework.io/builder: operator-sdk-v1.31.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4-alpha
name: flyway-operator.v0.0.1
Expand Down Expand Up @@ -185,7 +184,7 @@ spec:
- --leader-elect
command:
- /manager
image: ghcr.io/davidkarlsen/flyway-operator:latest
image: ghcr.io/davidkarlsen/flyway-operator:0.0.1
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/davidkarlsen/flyway-operator
newTag: latest
newTag: 0.0.1
4 changes: 2 additions & 2 deletions config/samples/flyway_v1alpha1_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
credentials:
name: migration-pw
key: password
jdbcUrl: "jdbc:db2://localhost:50000/devdb"
jdbcUrl: "jdbc:db2://somehost:50000/devdb"
migrationSource:
imageRef: "ghcr.io/davidkarlsen/testmigration:latest"
path: "/sql"
# path: "/sql"

0 comments on commit 3ecd71f

Please sign in to comment.